From: Sergei Shtylyov Date: Sat, 28 Mar 2015 22:12:31 +0000 (+0300) Subject: isp1362-hcd: use USB_DT_HUB X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=00d29b3e9320112c3d53d6865af60492dbc29163;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git isp1362-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/isp1362-hcd.c b/drivers/usb/host/isp1362-hcd.c index b32ab60cad1e..6cf82ee460a6 100644 --- a/drivers/usb/host/isp1362-hcd.c +++ b/drivers/usb/host/isp1362-hcd.c @@ -1538,7 +1538,7 @@ static void isp1362_hub_descriptor(struct isp1362_hcd *isp1362_hcd, DBG(3, "%s: enter\n", __func__); - desc->bDescriptorType = 0x29; + desc->bDescriptorType = USB_DT_HUB; desc->bDescLength = 9; desc->bHubContrCurrent = 0; desc->bNbrPorts = reg & 0x3;