diff options
author | Tomasz Figa <tomasz.figa@gmail.com> | 2014-01-11 22:39:02 +0100 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-03-03 10:23:18 -0500 |
commit | 6eb28bdcb27249ca9981fb063d3f2485fd344500 (patch) | |
tree | 689d84356e6e9e9b3f8d44c5ff745d3bb8891b48 /net/x25/x25_facilities.c | |
parent | 8880a4a526340335403696f30daf4e05a413f3bd (diff) |
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 <tomasz.figa@gmail.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by; Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'net/x25/x25_facilities.c')
0 files changed, 0 insertions, 0 deletions