summaryrefslogtreecommitdiff
path: root/CREDITS
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2018-07-12 11:07:24 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2018-07-16 12:41:05 +0300
commit73e736f865780cf01652b863d2016dde480c0f6f (patch)
tree84a70c6b29468974eb9a00e4107aacaf8d7c0a03 /CREDITS
parent726df1d5a62ec8241a2823f6b23728db61178eaa (diff)
downloadlinux-73e736f865780cf01652b863d2016dde480c0f6f.tar.xz
mmc: sdhci-esdhc-imx: disable clocks before changing frequency
In the uSDHC case (e.g. i.MX 6) clocks only get disabled if frequency is set to 0. However, it could be that the stack asks for a frequency change while clocks are on. In that case the function clears the divider registers (by clearing ESDHC_CLOCK_MASK) while the clock is enabled! This causes a short period of time where the clock is undivided (on a i.MX 6DL a clock of 196MHz has been measured). For older IP variants the driver disables clock by clearing some bits in ESDHC_SYSTEM_CONTROL. Make sure to disable card clock before changing frequency for uSDHC IP variants too. Signed-off-by: Stefan Agner <stefan@agner.ch> Acked-by: Dong Aisheng <aisheng.dong@nxp.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions