From: Sergei Shtylyov Date: Sat, 28 Mar 2015 22:07:43 +0000 (+0300) Subject: fusbh200-hcd: use USB_DT_HUB X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=87327b14621a10f0382c49ac181de7aaa5c2c88a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 . Signed-off-by: Sergei Shtylyov Signed-off-by: Greg Kroah-Hartman --- 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;