1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-02 15:47:56 +01:00
Files
u-boot-megous/drivers
Stefan Roese 1fd81b7c23 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>
2015-01-18 12:31:00 +01:00
..
2014-09-24 18:30:29 -04:00
2014-09-24 18:30:28 -04:00
2015-01-08 11:00:45 -05:00
2015-01-13 11:51:23 -05:00
2015-01-05 12:08:55 -05:00
2014-09-24 18:30:28 -04:00
2015-01-09 00:03:28 +05:30
2015-01-16 10:24:14 -05:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00