mci: core: don't test 4-bit-buswidth support if MMC host lacks capability
We already check for MMC_CAP_8_BIT_DATA before trying if buswidth=8
yields legible data. For consistency, don't test whether buswidth=4
works if the MMC host doesn't indicated MMC_CAP_4_BIT_DATA.

Fixes: 68db956d ("mci: Fix 8 bit mmc cards")
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ea7d1fd commit 88d2f57064e46854ceecede4093fc504597f3c9d
@Ahmad Fatoum Ahmad Fatoum authored on 30 Jan 2020
Sascha Hauer committed on 3 Feb 2020
Showing 1 changed file
View
drivers/mci/mci-core.c