[U-Boot] [PATCH 2/2] usb: gadget: f_dfu: Add get_alt function to pass the USB compliance test

Heiko Schocher hs at denx.de
Fri Jan 9 14:59:24 CET 2015


Hello Stefan,

Am 09.01.2015 14:54, schrieb Stefan Roese:
> 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 at denx.de>
> Cc: Roger Meier <r.meier at siemens.com>
> Cc: Samuel Egli <samuel.egli at siemens.com>
> Cc: Enrico Leto <enrico.leto at siemens.com>
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Lukasz Majewski <l.majewski at samsung.com>
> Cc: Marek Vasut <marex at denx.de>
> ---
>   drivers/usb/gadget/f_dfu.c | 8 ++++++++
>   1 file changed, 8 insertions(+)

Thanks!

Acked-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list