diff options
author | Alexandre Belloni <[email protected]> | 2014-12-17 19:32:06 +0100 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2014-12-29 14:49:28 +0100 |
commit | 1c2d26e379fc8d37d55befd8589c4c252186ee58 (patch) | |
tree | b6ba8f25be8afaf93ae1cecb3f57ff6f56840ba5 /lib/mpi/mpiutil.c | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) |
mmc: core: stop trying to switch width when only one bit is supported
mmc_select_bus_width() will try to switch to MMC_BUS_WIDTH_4 even if
MMC_CAP_4_BIT_DATA and MMC_CAP_8_BIT_DATA are not set in host->caps.
Return as soon as possible when those flags are not set
Fixes: 577fb13199b1 (mmc: rework selection of bus speed mode)
Signed-off-by: Alexandre Belloni <[email protected]>
Cc: <[email protected]> # 3.17
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions