aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2015-03-28 18:07:43 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-04-03 13:03:19 -0400
commit87327b14621a10f0382c49ac181de7aaa5c2c88a (patch)
tree676863edb8318f1ceda2d51ba5e98013716ce23b /drivers/usb
parent72cce8cb05bfe9ff545520606e51651adb1bac33 (diff)
fusbh200-hcd: use USB_DT_HUB
Fix using the bare number to set the 'bDescriptorType' field of the Hub Descriptor while the value is #define'd in <linux/usb/ch11.h>. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/fusbh200-hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/fusbh200-hcd.c b/drivers/usb/host/fusbh200-hcd.c
index a83eefefffda..eb39a451ef06 100644
--- a/drivers/usb/host/fusbh200-hcd.c
+++ b/drivers/usb/host/fusbh200-hcd.c
@@ -1467,7 +1467,7 @@ fusbh200_hub_descriptor (
1467 int ports = HCS_N_PORTS (fusbh200->hcs_params); 1467 int ports = HCS_N_PORTS (fusbh200->hcs_params);
1468 u16 temp; 1468 u16 temp;
1469 1469
1470 desc->bDescriptorType = 0x29; 1470 desc->bDescriptorType = USB_DT_HUB;
1471 desc->bPwrOn2PwrGood = 10; /* fusbh200 1.0, 2.3.9 says 20ms max */ 1471 desc->bPwrOn2PwrGood = 10; /* fusbh200 1.0, 2.3.9 says 20ms max */
1472 desc->bHubContrCurrent = 0; 1472 desc->bHubContrCurrent = 0;
1473 1473