From: Tomasz Figa Date: Sat, 11 Jan 2014 21:39:02 +0000 (+0100) Subject: mmc: sdhci-s3c: Cache bus clock rates X-Git-Tag: v3.15-rc1~42^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6eb28bdcb27249ca9981fb063d3f2485fd344500;p=pandora-kernel.git mmc: sdhci-s3c: Cache bus clock rates To fix scheduling while atomic happening in sdhci_s3c_set_clock() caused by calling clk_get_rate() that might sleep, this patch modifies the driver to cache rates of all bus clocks at probe time and then only use those cache values. Signed-off-by: Tomasz Figa Tested-by: Heiko Stuebner Acked-by: Heiko Stuebner Tested-by: Jaehoon Chung Acked-by; Jaehoon Chung Signed-off-by: Chris Ball --- Reading git-diff-tree failed