mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 12:56:00 +01:00
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>
This commit is contained in:
parent
4e10c1227a
commit
2522bd3ea6
@ -119,6 +119,7 @@ static struct usb_descriptor_header *fb_fs_function[] = {
|
|||||||
(struct usb_descriptor_header *)&interface_desc,
|
(struct usb_descriptor_header *)&interface_desc,
|
||||||
(struct usb_descriptor_header *)&fs_ep_in,
|
(struct usb_descriptor_header *)&fs_ep_in,
|
||||||
(struct usb_descriptor_header *)&fs_ep_out,
|
(struct usb_descriptor_header *)&fs_ep_out,
|
||||||
|
NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct usb_descriptor_header *fb_hs_function[] = {
|
static struct usb_descriptor_header *fb_hs_function[] = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user