Skip to content
Commit 8b7be8f2 authored by Peter Griffin's avatar Peter Griffin Committed by Ulf Hansson
Browse files

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: default avatarPeter Griffin <peter.griffin@linaro.org>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent c6d8fd61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment