diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2016-05-27 17:26:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-05-27 12:19:29 -0700 |
commit | d9fa3494b78a4e7fe9d8243ddd5ec472668f8fdf (patch) | |
tree | ffdd75be1195d188549ebeaa4099d80284b573be /drivers/staging/greybus/interface.h | |
parent | a4b08df4e01beac8a5e90f5dfb8a1ffda943d73d (diff) | |
download | op-kernel-dev-d9fa3494b78a4e7fe9d8243ddd5ec472668f8fdf.zip op-kernel-dev-d9fa3494b78a4e7fe9d8243ddd5ec472668f8fdf.tar.gz |
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>
Diffstat (limited to 'drivers/staging/greybus/interface.h')
-rw-r--r-- | drivers/staging/greybus/interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h index 51772cc..e833f7d 100644 --- a/drivers/staging/greybus/interface.h +++ b/drivers/staging/greybus/interface.h @@ -13,6 +13,7 @@ #define GB_INTERFACE_QUIRK_NO_CPORT_FEATURES BIT(0) #define GB_INTERFACE_QUIRK_NO_INIT_STATUS BIT(1) #define GB_INTERFACE_QUIRK_NO_ARA_IDS BIT(2) +#define GB_INTERFACE_QUIRK_FORCED_DISABLE BIT(3) struct gb_interface { struct device dev; |