projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d91cf9f
)
dwc_otg_hcd: fix for v2.6.36
author
黄涛
<huangtao@rock-chips.com>
Mon, 1 Aug 2011 03:26:42 +0000
(11:26 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 1 Aug 2011 03:26:42 +0000
(11:26 +0800)
drivers/usb/dwc_otg/dwc_otg_hcd.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc_otg/dwc_otg_hcd.c
b/drivers/usb/dwc_otg/dwc_otg_hcd.c
index 85752070ca36f5c57e6387e93ada0fcdae92ddbe..044987afb9ed3cc0f82ba52710a5928c79f078ba 100755
(executable)
--- a/
drivers/usb/dwc_otg/dwc_otg_hcd.c
+++ b/
drivers/usb/dwc_otg/dwc_otg_hcd.c
@@
-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);