Skip to contentSkip to conversation

MMC: OMAP: Adds MMC basic support for Siemens SX1

PATCH In review Carlos Aguiar 2 participants 2 messages Nov 26, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 17/17 MMC: OMAP: Adds MMC basic support for Siemens SX1

From: Carlos Eduardo Aguiar <[email protected]>

Adds MMC basic support for Siemens SX1 mobile phone.

---
 drivers/mmc/host/omap.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/mmc/host/omap.c +3 -0
index 97b123e..4c5d91a 100644
@@ -1093,6 +1093,9 @@ static void mmc_omap_set_power(struct mmc_omap_slot *slot, int power_on,
 		slot->pdata->set_power(mmc_dev(slot->mmc), slot->id, power_on,
 					vdd);
 
+	if (machine_is_sx1())
+		sx1_setmmcpower(power_on);
+
 	if (cpu_is_omap24xx()) {
 		u16 w;
 

-- 1.5.3.GIT

#1 lore raw
Quoted 14 lines · Carlos Aguiar

From: Carlos Eduardo Aguiar <[email protected]>

Adds MMC basic support for Siemens SX1 mobile phone.

---
 drivers/mmc/host/omap.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/mmc/host/omap.c +0 -0
index 97b123e..4c5d91a 100644

drivers/mmc/host/omap.c static void mmc_omap_set_power(struct mmc_omap_slot *slot, int power_on, · line 1100

Quoted 8 lines
drivers/mmc/host/omap.c +3 -0
@@ -1093,6 +1093,9 @@ static void mmc_omap_set_power(struct mmc_omap_slot *slot, int power_on,
 		slot->pdata->set_power(mmc_dev(slot->mmc), slot->id, power_on,
 					vdd);
 
+	if (machine_is_sx1())
+		sx1_setmmcpower(power_on);
+
 	if (cpu_is_omap24xx()) {
 		u16 w;

There should not be need for board specific code in mmc/host/omap.c any longer after these patches, so why not use the same set_power interface for sx1 as other boards do?

Regards,

Tony