diff options
author | 2016-06-08 11:27:52 +0100 | |
---|---|---|
committer | 2016-07-25 10:34:12 +0200 | |
commit | 8b7be8f2e7fe6c037fc7c89029a4a568ad2c60b1 (patch) | |
tree | 39ca75122f14d59213b43496d31cae19c0cd7807 /include/linux/mmc | |
parent | mmc: Set pref erase size based on size (diff) | |
download | wireguard-linux-8b7be8f2e7fe6c037fc7c89029a4a568ad2c60b1.tar.xz wireguard-linux-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