Skip to contentSkip to conversation

OMAP2: Devkit8000: Fix mmc regulator failure

PATCH In review Thomas Weber 2 participants 2 messages Nov 1, 2010 – Nov 5, 2010

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

PATCH 1/1 OMAP2: Devkit8000: Fix mmc regulator failure

This patch fixes the following error:

Quoted 1 line

regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal

standby

Quoted 2 lines

twl_reg twl_reg.6: can't register VMMC1, -22
twl_reg: probe of twl_reg.6 failed with error -22

---
 arch/arm/mach-omap2/board-devkit8000.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
arch/arm/mach-omap2/board-devkit8000.c +0 -3
index 067f437..53ac762 100644
@@ -242,9 +242,6 @@ static int devkit8000_twl_gpio_setup(struct device *dev,
 	mmc[0].gpio_cd = gpio + 0;
 	omap2_hsmmc_init(mmc);
 
-	/* link regulators to MMC adapters */
-	devkit8000_vmmc1_supply.dev = mmc[0].dev;
-
 	/* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */
 	gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1;
 
Signature · 1 line
1.7.3.2
maintainer
#1 lore raw
Quoted 6 lines · Thomas Weber

This patch fixes the following error:

Quoted 1 line

regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal

standby

Quoted 2 lines

twl_reg twl_reg.6: can't register VMMC1, -22
twl_reg: probe of twl_reg.6 failed with error -22

Adding this into omap-fixes.

Tony

Quoted 22 lines
---
 arch/arm/mach-omap2/board-devkit8000.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
arch/arm/mach-omap2/board-devkit8000.c +0 -3
index 067f437..53ac762 100644
@@ -242,9 +242,6 @@ static int devkit8000_twl_gpio_setup(struct device *dev,
 	mmc[0].gpio_cd = gpio + 0;
 	omap2_hsmmc_init(mmc);
 
-	/* link regulators to MMC adapters */
-	devkit8000_vmmc1_supply.dev = mmc[0].dev;
-
 	/* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */
 	gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1;
 
Signature · 1 line
1.7.3.2