diff options
author | Johan Hovold | 2016-03-30 00:56:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-03-30 23:23:19 +0200 |
commit | ac72cfbe6937f00c1fb334001c89ea26254ef430 (patch) | |
tree | 32f94f4a85ad13a04f8be87547b515fa1bc09381 /drivers/staging/greybus/interface.h | |
parent | greybus: interface: add ES2 init-status quirk flag (diff) | |
download | kernel-qcow2-linux-ac72cfbe6937f00c1fb334001c89ea26254ef430.tar.gz kernel-qcow2-linux-ac72cfbe6937f00c1fb334001c89ea26254ef430.tar.xz kernel-qcow2-linux-ac72cfbe6937f00c1fb334001c89ea26254ef430.zip |
greybus: interface: clean up ES2 VID/PID hack
Clean up the ES2 VID/PID hack using a new quirk flag.
Note that the hack is now used if and only if the interface is a Toshiba
ES2 bridge (and not if the attributes read zero).
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 94eb36e36975..15c687f5dbc1 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_INTERFACE_VERSION BIT(1) #define GB_INTERFACE_QUIRK_NO_INIT_STATUS BIT(2) +#define GB_INTERFACE_QUIRK_NO_ARA_IDS BIT(3) struct gb_interface { struct device dev; |