greybus: interface: move boot-status clearing to interface enable
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 29 Mar 2016 22:56:00 +0000 (18:56 -0400)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 30 Mar 2016 21:17:40 +0000 (14:17 -0700)
commitc2d80906fbe529ee4b1963bf83d84e53e02e44c2
tree9eea20343e2f75dee881047d34f348c8344dd56f
parent9ba486e3198eab8cd254c5089cc9f56b1d5b8d4c
greybus: interface: move boot-status clearing to interface enable

Reading and clearing the boot status of an interface is an interface
operation and belongs in the interface code.

As part of the reworked interface boot sequence, we also want to do this
when enabling (enumerating) a Greybus interface.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/interface.c
drivers/staging/greybus/svc.c