mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 22:52:35 +02:00
USB: fix regression in usbip by setting has_tt flag
commit cee6a26255 upstream.
This patch (as1460) fixes a regression in the usbip driver caused by
the new check for Transaction Translators in USB-2 hubs. The root hub
registered by vhci_hcd needs to have the has_tt flag set, because it
can connect to low- and full-speed devices as well as high-speed
devices.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-and-tested-by: Nikola Ciprich <nikola.ciprich@linuxbox.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
9b3315aee9
commit
eeea5b0bd4
|
|
@ -1134,7 +1134,7 @@ static int vhci_hcd_probe(struct platform_device *pdev)
|
|||
usbip_uerr("create hcd failed\n");
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
hcd->has_tt = 1;
|
||||
|
||||
/* this is private data for vhci_hcd */
|
||||
the_controller = hcd_to_vhci(hcd);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user