summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2020-01-22 17:27:47 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2020-01-24 14:17:05 +0300
commit533a6cfe08f96a7b5c65e06d20916d552c11b256 (patch)
tree0ad79476b091d3418a74d050baab5c0cf4c7ff30 /drivers/pinctrl
parentad91619aa9d78ab1c6d4a969c3db68bc331ae76c (diff)
downloadlinux-533a6cfe08f96a7b5c65e06d20916d552c11b256.tar.xz
mmc: core: Default to generic_cmd6_time as timeout in __mmc_switch()
All callers of __mmc_switch() should now be specifying a valid timeout for the CMD6 command. However, just to be sure, let's print a warning and default to use the generic_cmd6_time in case the provided timeout_ms argument is zero. In this context, let's also simplify some of the corresponding code and clarify some related comments. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Link: https://lore.kernel.org/r/20200122142747.5690-4-ulf.hansson@linaro.org
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions