usb: ehci-orion: add more constants for register values
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 19 Mar 2015 14:01:07 +0000 (15:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 09:50:52 +0000 (10:50 +0100)
commit24677af8693647d611448651f7df3ddc3211aa83
tree2b716639834a92c98d44a0b8c26e128b4363915d
parentbb3247a34257a271b32d43244eabf71198f40ff0
usb: ehci-orion: add more constants for register values

This commit adds new register values for the USB_CMD and USB_MODE
registers, which allows to avoid the usage of a number of magic values
in orion_usb_phy_v1_setup().

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-orion.c