]> git.baikalelectronics.ru Git - kernel.git/commit
USB: ehci-omap: Use PHY APIs to get the PHY device and put it out of suspend
authorRoger Quadros <rogerq@ti.com>
Tue, 12 Mar 2013 10:44:41 +0000 (12:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 18:51:46 +0000 (11:51 -0700)
commita4db825cedbd6f717d8c1082bc2d5cd034c7ec47
tree0b3cb3f51224336fc9f40ffeef0040235764f0eb
parentfe1090c13825f7bfcf7e03c40dd8cc12a21a3d4c
USB: ehci-omap: Use PHY APIs to get the PHY device and put it out of suspend

For each port that is in PHY mode we obtain a PHY device using the USB PHY
library and put it out of suspend.

It is up to platform code to associate the PHY to the controller's
port and it is up to the PHY driver to manage the PHY's resources.

Also remove weird spacing around declarations we come across.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-omap.c