[PATCH 1/23] mmc: change the argument of the first MMC SEND_OP_COND command
Brad Figg
brad.figg at canonical.com
Thu Aug 27 23:20:41 UTC 2009
From: Saeed Bishara <saeed at marvell.com>
using none zero value makes some MMC cards (Lexar media) to be detected.
Signed-off-by: Saeed Bishara <saeed at marvell.com>
Signed-off-by: Brad Figg <brad.figg at canonical.com>
---
drivers/mmc/core/core.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index 517347e..0a59973 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -921,7 +921,11 @@ void mmc_rescan(struct work_struct *work)
/*
* ...and finally MMC.
*/
+#ifdef CONFIG_ARCH_DOVE
+ err = mmc_send_op_cond(host, 0x40000, &ocr);
+#else
err = mmc_send_op_cond(host, 0, &ocr);
+#endif
if (!err) {
if (mmc_attach_mmc(host, ocr))
mmc_power_off(host);
--
1.6.0.4
More information about the kernel-team
mailing list