From: Dmitry Eremin-Solenikov Date: Wed, 3 Dec 2014 17:37:10 +0000 (+0100) Subject: ARM: 8245/1: pcmcia: soc-common: enable/disable socket clocks X-Git-Tag: omap-for-v3.19/fixes-rc1~105^2~1^4~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0821c3bc5df805aef1f5989b7a7dacc2491a0e5b;p=pandora-kernel.git ARM: 8245/1: pcmcia: soc-common: enable/disable socket clocks Call clk_prepare_enable() during hw_init() and clk_disable_unprepare() during hw_shutdown() to ensure that the clock rates returned by clk_get_rate() are correct. It is safe to call enable/disable functions even on NULL clock, so this patch will not break cases when the socket clock is not set. Signed-off-by: Dmitry Eremin-Solenikov Signed-off-by: Russell King --- Reading git-diff-tree failed