aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDoug Anderson <[email protected]>2014-10-14 09:39:12 -0700
committerUlf Hansson <[email protected]>2014-11-10 12:40:36 +0100
commite7791079ae89d91024019e11a1f430d38c491246 (patch)
treebc2fe86bbf00308cca6757c07e4796b60ce71098 /include/linux
parentb19caf379c82e99737c29bc15d7b7fd7d24279f9 (diff)
mmc: dw_mmc: rockchip: Don't recalc the clock when it goes off
The "set_ios" function is called with a clock of 0 when the clock is turning off. There's no reason to go through all the extra Rockchip logic (whose goal is to make sure DIV is 0 or 1) in that case. The Rockchip logic happened to work because the CCF will pick the lowest possible rate when you ask it for a clock of 0, but it's silly to go through all the remuxing and adjusting for no reason. Signed-off-by: Doug Anderson <[email protected]> Acked-by: Jaehoon Chung <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions