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> |
---|
|
drivers/mci/mci-core.c |
---|