From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Fri, 09 Jan 2015 14:59:24 +0100 Subject: [U-Boot] [PATCH 2/2] usb: gadget: f_dfu: Add get_alt function to pass the USB compliance test In-Reply-To: <1420811696-22143-2-git-send-email-sr@denx.de> References: <1420811696-22143-1-git-send-email-sr@denx.de> <1420811696-22143-2-git-send-email-sr@denx.de> Message-ID: <54AFDEBC.8040703@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Roger Meier > Cc: Samuel Egli > Cc: Enrico Leto > Cc: Heiko Schocher > Cc: Lukasz Majewski > Cc: Marek Vasut > --- > drivers/usb/gadget/f_dfu.c | 8 ++++++++ > 1 file changed, 8 insertions(+) Thanks! Acked-by: Heiko Schocher bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany