Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7283945 authored by Thomas Weber's avatar Thomas Weber Committed by Tony Lindgren
Browse files

OMAP2: Devkit8000: Fix mmc regulator failure



This patch fixes the following error:

>regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
>twl_reg twl_reg.6: can't register VMMC1, -22
>twl_reg: probe of twl_reg.6 failed with error -22

Signed-off-by: default avatarThomas Weber <weber@corscience.de>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent c8ddb271
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -242,9 +242,6 @@ static int devkit8000_twl_gpio_setup(struct device *dev,
	mmc[0].gpio_cd = gpio + 0;
	mmc[0].gpio_cd = gpio + 0;
	omap2_hsmmc_init(mmc);
	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) */
	/* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */
	gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1;
	gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1;