aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2016-06-08 11:27:52 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2016-07-25 10:34:12 +0200
commit8b7be8f2e7fe6c037fc7c89029a4a568ad2c60b1 (patch)
tree39ca75122f14d59213b43496d31cae19c0cd7807 /include/linux/mmc
parentmmc: Set pref erase size based on size (diff)
downloadlinux-dev-8b7be8f2e7fe6c037fc7c89029a4a568ad2c60b1.tar.xz
linux-dev-8b7be8f2e7fe6c037fc7c89029a4a568ad2c60b1.zip
mmc: core: Only change mode if mmc_select_bus_width() is successful
mmc_select_bus_width() returns bus width (4 or 8) on success or zero if unsupported. So only change mode if setting the bus width is successful. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc')
0 files changed, 0 insertions, 0 deletions