From 894ecb4e4d8c1918ef37b37272fdc387f4c176ff Mon Sep 17 00:00:00 2001
From: =?utf8?q?=E9=BB=84=E6=B6=9B?= <huangtao@rock-chips.com>
Date: Mon, 1 Aug 2011 11:26:42 +0800
Subject: [PATCH] dwc_otg_hcd: fix for v2.6.36

---
 drivers/usb/dwc_otg/dwc_otg_hcd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd.c b/drivers/usb/dwc_otg/dwc_otg_hcd.c
index 85752070ca36..044987afb9ed 100755
--- 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);
-- 
2.34.1