Re: [PATCH 2/2] OMAP4: Regulator: Specify system has fully specified constraints

2011-06-27 Thread Kevin Hilman
Ghongdemath, Girish giris...@ti.com writes: On Wed, Jun 22, 2011 at 5:12 PM, Pandita, Vikram vikram.pand...@ti.com wrote: On Tue, Jun 21, 2011 at 5:24 PM, Girish S G giris...@ti.com wrote: snip diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index

Re: [PATCH 2/2] OMAP4: Regulator: Specify system has fully specified constraints

2011-06-22 Thread Pandita, Vikram
On Tue, Jun 21, 2011 at 5:24 PM, Girish S G giris...@ti.com wrote: snip diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 04b7770..46f6800 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c @@ -560,6 +560,9

Re: [PATCH 2/2] OMAP4: Regulator: Specify system has fully specified constraints

2011-06-22 Thread Ghongdemath, Girish
On Wed, Jun 22, 2011 at 5:12 PM, Pandita, Vikram vikram.pand...@ti.com wrote: On Tue, Jun 21, 2011 at 5:24 PM, Girish S G giris...@ti.com wrote: snip diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 04b7770..46f6800 100644 ---

[PATCH 2/2] OMAP4: Regulator: Specify system has fully specified constraints

2011-06-21 Thread Girish S G
As of now, the unused regulators are not getting disabled. Only those regulators are disabled which are properly handled by drivers. Calling regulator_has_full_constraints() will cause the regulator core to disable all regulators which have a zero use count and don't have always_on=true specified