greybus: interface: clean up ES2 VID/PID hack
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 29 Mar 2016 22:56:10 +0000 (18:56 -0400)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 30 Mar 2016 21:23:19 +0000 (14:23 -0700)
commitac72cfbe6937f00c1fb334001c89ea26254ef430
tree32f94f4a85ad13a04f8be87547b515fa1bc09381
parent7d7acc06a0febf9f08649df52aa267b8f74b0de9
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>
drivers/staging/greybus/firmware.c
drivers/staging/greybus/greybus_protocols.h
drivers/staging/greybus/interface.c
drivers/staging/greybus/interface.h
drivers/staging/greybus/svc.c