usb: phy: nop: Defer clock prepare until PHY init
authorMark Brown <broonie@linaro.org>
Sun, 11 Aug 2013 14:26:04 +0000 (15:26 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 1 Oct 2013 14:31:10 +0000 (09:31 -0500)
Since we only enable the PHY clock on init and the PHY init and shutdown
does not occur in atomitc context there is no need to prepare the clock
before it is enabled.  Move the clk_prepare() operations to go along
with the enables, allowing the clock to be fully idle when not in use.

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found