]> asedeno.scripts.mit.edu Git - linux.git/commit
isp1362-hcd: use HUB_CHAR_*
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 18 Jan 2015 22:34:59 +0000 (01:34 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 13:01:12 +0000 (21:01 +0800)
commit662fc2a6a3d0720b3e4f00fec22ee214cd1204c3
tree12a2e93369aeca9b5c07533539045a57fa21200b
parentf3c4140dc9c7a1719eba3537eee576050174f93c
isp1362-hcd: use HUB_CHAR_*

Fix  using the  bare numbers to set the 'wHubCharacteristics' field of the Hub
Descriptor while the values are #define'd in <linux/usb/ch11.h>.

While at it, avoid duplicate computation when calling DBG().

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/isp1362-hcd.c