mirror of
https://github.com/torvalds/linux.git
synced 2026-06-12 16:57:59 +02:00
dwc_otg_hcd: fix for v2.6.36
This commit is contained in:
parent
d91cf9f6ae
commit
894ecb4e4d
|
|
@ -2441,10 +2441,10 @@ int dwc_otg_hcd_hub_control(struct usb_hcd *_hcd,
|
|||
port_status |= (1 << USB_PORT_FEAT_POWER);
|
||||
|
||||
if (hprt0.b.prtspd == DWC_HPRT0_PRTSPD_HIGH_SPEED)
|
||||
port_status |= (1 << USB_PORT_FEAT_HIGHSPEED);
|
||||
port_status |= USB_PORT_STAT_HIGH_SPEED;
|
||||
|
||||
else if (hprt0.b.prtspd == DWC_HPRT0_PRTSPD_LOW_SPEED)
|
||||
port_status |= (1 << USB_PORT_FEAT_LOWSPEED);
|
||||
port_status |= USB_PORT_STAT_LOW_SPEED;
|
||||
|
||||
if (hprt0.b.prttstctl)
|
||||
port_status |= (1 << USB_PORT_FEAT_TEST);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user