summaryrefslogtreecommitdiff
path: root/include/linux/flex_array.h
diff options
context:
space:
mode:
authorSahitya Tummala <stummala@codeaurora.org>2013-06-13 10:34:48 +0530
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:20:50 -0700
commit40c3ea6a0ce412f38d19a998c55054a879ec1071 (patch)
treec4d417512be3833307825817c18d79f43d7b0c5e /include/linux/flex_array.h
parent392f2d1389b878d5b43e7ae5965f2b96be753357 (diff)
mmc: core: Fix MMC clock scaling in case of tuning failure
When the clock scaling state is changed from MMC_LOAD_LOW to MMC_LOAD_HIGH, the clocks are first scaled up and then tuning is performed. But in case of tuning failure, the current code does nothing but still retain the previous clock scale stats (state and curr_freq within struct clk_scaling). Hence, correct it to scale down the clocks in case of tuning failure so that clock scaling stats reflect the correct status. This also helps proceed with data transfers at lower clock rate in such cases. Change-Id: I7e9379d1e3ddc863132af31019604c22a42f8d59 Signed-off-by: Sahitya Tummala <stummala@codeaurora.org> [subhashj@codeaurora.org: fixed compilation error] Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions