summaryrefslogtreecommitdiff
path: root/include/linux/mmc/host.h
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2016-04-01 17:44:35 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2016-05-02 10:33:13 +0200
commit148634d24d4a7dc82a49efcf1a215e1d0695f62c (patch)
tree20c2727b24f05c55ccd46a37b35e319956318811 /include/linux/mmc/host.h
parent7fbc030da800d07193da4a4355ca2e197cf00cfb (diff)
downloadlwn-148634d24d4a7dc82a49efcf1a215e1d0695f62c.tar.gz
lwn-148634d24d4a7dc82a49efcf1a215e1d0695f62c.zip
mmc: tmio: stop clock when 0Hz is requested
Setting frequency to 0 is not enough, the clock explicitly has to be disabled. Otherwise voltage switching (which needs SDCLK to be quiet) fails for various cards. Because we now do the 'new_clock == 0' check right at the beginning, the indentation level of the rest of the code can be decreased a little. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc/host.h')
0 files changed, 0 insertions, 0 deletions