greybus: interface: avoid I/O to bootrom during removal
authorJohan Hovold <johan@hovoldconsulting.com>
Fri, 27 May 2016 15:26:24 +0000 (17:26 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 27 May 2016 19:19:29 +0000 (12:19 -0700)
commitd9fa3494b78a4e7fe9d8243ddd5ec472668f8fdf
treeffdd75be1195d188549ebeaa4099d80284b573be
parenta4b08df4e01beac8a5e90f5dfb8a1ffda943d73d
greybus: interface: avoid I/O to bootrom during removal

Add an interface quirk flag to suppress I/O during interface disable.

This is needed to prevent I/O to the bootrom during controlled
connection tear down (e.g. eject or driver unbind). This will be more
obvious with the new connection tear-down procedure.

Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
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/interface.h