]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: usb: fastboot: Fix full-speed usb descriptor
authorqianfan Zhao <qianfanguijin@163.com>
Mon, 22 Aug 2022 01:18:31 +0000 (09:18 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 2 Sep 2022 11:26:58 +0000 (13:26 +0200)
commit2522bd3ea67d6e22259cf363eeb3822a358b50d6
tree841181652a620864013955450970dfef4e7e1357
parent4e10c1227aa879af809b3073bf917289f23e17d7
drivers: usb: fastboot: Fix full-speed usb descriptor

The host will report such error message if the fastboot device work in
full-speed mode: "Duplicate descriptor for config 1 interface 0
altsetting 0, skipping"

Fastboot device ack both full and high speed interface descriptors when
work in full-speed mode, that's will cause this issue.

Fix it.

Signed-off-by: qianfan Zhao <qianfanguijin@163.com>
Reviewed-by: John Keeping <john@metanate.com>
drivers/usb/gadget/f_fastboot.c