]> git.baikalelectronics.ru Git - kernel.git/commit
u132-hcd: use USB_DT_HUB
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 28 Mar 2015 22:28:15 +0000 (01:28 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 17:03:16 +0000 (19:03 +0200)
commitc0a78a71b1c697fc6071f3dc3089c1c48ca0567e
tree3bb7613550aafcb3b9a92b9781d81d903a4db0cc
parenta23c01da6f5550762dbf059e1d178d5fdf58cf0c
u132-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>
drivers/usb/host/u132-hcd.c