diff options
author | Stefan Roese <sr@denx.de> | 2015-01-09 14:54:56 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-01-18 12:31:00 +0100 |
commit | 1fd81b7c23705eb46fd80d1eccb68fa8697cf348 (patch) | |
tree | cb1d853520ca34b700e89742381f2f483150a4be /drivers/usb/gadget/fotg210.c | |
parent | 87ed6b1067a8b8cf2bf3fd900080164cef8e0b77 (diff) | |
download | u-boot-imx-1fd81b7c23705eb46fd80d1eccb68fa8697cf348.zip u-boot-imx-1fd81b7c23705eb46fd80d1eccb68fa8697cf348.tar.gz u-boot-imx-1fd81b7c23705eb46fd80d1eccb68fa8697cf348.tar.bz2 |
usb: gadget: f_dfu: Add get_alt function to pass the USB compliance test
Without this function the USB compliance test (USB 2.0 Command Verifier) will
fail in the "Interface Descriptor Test" with this error message:
FAIL
(1.2.51) A successful GetInterface request must return the alternate setting
set by a prior call to SetInterface.
Lets add this function to read back the value so that the DFU device fully
passes the USB compliance test.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Roger Meier <r.meier@siemens.com>
Cc: Samuel Egli <samuel.egli@siemens.com>
Cc: Enrico Leto <enrico.leto@siemens.com>
Acked-by: Heiko Schocher <hs@denx.de>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/usb/gadget/fotg210.c')
0 files changed, 0 insertions, 0 deletions