All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OMAP2: Devkit8000: Fix mmc regulator failure
@ 2010-11-01 22:48 ` Thomas Weber
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Weber @ 2010-11-01 22:48 UTC (permalink / raw)
  To: tony
  Cc: Thomas Weber, Russell King, linux-omap, linux-arm-kernel, linux-kernel

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: Thomas Weber <weber@corscience.de>
---
 arch/arm/mach-omap2/board-devkit8000.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index 067f437..53ac762 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -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;
 
-- 
1.7.3.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] OMAP2: Devkit8000: Fix mmc regulator failure
@ 2010-11-01 22:48 ` Thomas Weber
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Weber @ 2010-11-01 22:48 UTC (permalink / raw)
  To: linux-arm-kernel

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: Thomas Weber <weber@corscience.de>
---
 arch/arm/mach-omap2/board-devkit8000.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index 067f437..53ac762 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -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;
 
-- 
1.7.3.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] OMAP2: Devkit8000: Fix mmc regulator failure
  2010-11-01 22:48 ` Thomas Weber
@ 2010-11-05 19:12   ` Tony Lindgren
  -1 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2010-11-05 19:12 UTC (permalink / raw)
  To: Thomas Weber; +Cc: Russell King, linux-omap, linux-arm-kernel, linux-kernel

* Thomas Weber <weber@corscience.de> [101101 14:38]:
> 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

Adding this into omap-fixes.

Tony
 
> Signed-off-by: Thomas Weber <weber@corscience.de>
> ---
>  arch/arm/mach-omap2/board-devkit8000.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
> index 067f437..53ac762 100644
> --- a/arch/arm/mach-omap2/board-devkit8000.c
> +++ b/arch/arm/mach-omap2/board-devkit8000.c
> @@ -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;
>  
> -- 
> 1.7.3.2
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] OMAP2: Devkit8000: Fix mmc regulator failure
@ 2010-11-05 19:12   ` Tony Lindgren
  0 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2010-11-05 19:12 UTC (permalink / raw)
  To: linux-arm-kernel

* Thomas Weber <weber@corscience.de> [101101 14:38]:
> 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

Adding this into omap-fixes.

Tony
 
> Signed-off-by: Thomas Weber <weber@corscience.de>
> ---
>  arch/arm/mach-omap2/board-devkit8000.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
> index 067f437..53ac762 100644
> --- a/arch/arm/mach-omap2/board-devkit8000.c
> +++ b/arch/arm/mach-omap2/board-devkit8000.c
> @@ -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;
>  
> -- 
> 1.7.3.2
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-05 19:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-01 22:48 [PATCH] OMAP2: Devkit8000: Fix mmc regulator failure Thomas Weber
2010-11-01 22:48 ` Thomas Weber
2010-11-05 19:12 ` Tony Lindgren
2010-11-05 19:12   ` Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.