Skip to content
Commit 4d175f34 authored by Mark Brown's avatar Mark Brown Committed by Felipe Balbi
Browse files

usb: phy: nop: Defer clock prepare until PHY init



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: default avatarMark Brown <broonie@linaro.org>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 15c03dd4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment