]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ohci-at91: use HUB_CHAR_*
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 18 Jan 2015 22:39:44 +0000 (01:39 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 13:01:12 +0000 (21:01 +0800)
commita9c49bcd0a4fe68e78eb202a00ba0d6c6361449c
tree3d89471f96ee40d7d9b0fd008f0b0ac33b32a438
parent2e48c4668da6fe8a3f1af67f8cd7d9b927698e62
ohci-at91: 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, stop setting already set HUB_CHAR_INDV_PORT_LPSM once again.

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