From: Mark Brown Date: Sun, 11 Aug 2013 14:26:04 +0000 (+0100) Subject: usb: phy: nop: Defer clock prepare until PHY init X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~66^2~22^2~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d175f340c9c055482688d2205038413dc7b6f1e;p=pandora-kernel.git 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: Mark Brown Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed