mmc: omap_hsmmc: save clock rate to use in interrupt context
authorBalaji T K <balajitk@ti.com>
Tue, 21 Jan 2014 14:24:42 +0000 (19:54 +0530)
committerChris Ball <chris@printf.net>
Tue, 4 Mar 2014 16:45:07 +0000 (11:45 -0500)
commit6e3076c27da0ac653dda6503dadd2852c2d0eac1
tree6071b6093d697ba7888edec1d2acfac923265a64
parent4ea42235b5a999eff57f38696ae532a6b9377c55
mmc: omap_hsmmc: save clock rate to use in interrupt context

clk_get_rate throws DEBUG_LOCKS_WARN_ON(in_interrupt()) warning
if called from interrupt context.
use cached clock rate in set_data_timeout, so that
set_data_timeout can be called from interrupt context.

Signed-off-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/omap_hsmmc.c