diff mbox

omap hsmmc: fix incorrect capability reporting

Message ID 618f0c911003300737w5562c18as1bfcb21671919718@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Venkatraman S March 30, 2010, 2:37 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 83f0aff..dbf83a6 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -2093,7 +2093,7 @@  static int __init omap_hsmmc_probe(struct
platform_device *pdev)

 	if (mmc_slot(host).wires >= 8)
 		mmc->caps |= MMC_CAP_8_BIT_DATA;
-	else if (mmc_slot(host).wires >= 4)
+	if (mmc_slot(host).wires >= 4)
 		mmc->caps |= MMC_CAP_4_BIT_DATA;