From: Sergei Shtylyov Date: Sat, 28 Mar 2015 22:10:43 +0000 (+0300) Subject: isp116x-hcd: use USB_DT_HUB X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6a0855673ea81f436625ff0e471e990e503232c9;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git isp116x-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/isp116x-hcd.c b/drivers/usb/host/isp116x-hcd.c index 113d0cc6cc43..aa335fa716d1 100644 --- a/drivers/usb/host/isp116x-hcd.c +++ b/drivers/usb/host/isp116x-hcd.c @@ -943,7 +943,7 @@ static void isp116x_hub_descriptor(struct isp116x *isp116x, { u32 reg = isp116x->rhdesca; - desc->bDescriptorType = 0x29; + desc->bDescriptorType = USB_DT_HUB; desc->bDescLength = 9; desc->bHubContrCurrent = 0; desc->bNbrPorts = (u8) (reg & 0x3);