diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2015-03-29 01:07:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 19:03:19 +0200 |
commit | 87327b14621a10f0382c49ac181de7aaa5c2c88a (patch) | |
tree | 676863edb8318f1ceda2d51ba5e98013716ce23b /drivers/usb | |
parent | 72cce8cb05bfe9ff545520606e51651adb1bac33 (diff) | |
download | linux-87327b14621a10f0382c49ac181de7aaa5c2c88a.tar.bz2 |
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.c | 2 |
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 ( int ports = HCS_N_PORTS (fusbh200->hcs_params); u16 temp; - desc->bDescriptorType = 0x29; + desc->bDescriptorType = USB_DT_HUB; desc->bPwrOn2PwrGood = 10; /* fusbh200 1.0, 2.3.9 says 20ms max */ desc->bHubContrCurrent = 0; |