]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: OMAP2+: Remove apply_uV constraints for fixed regulator
authorRajendra Nayak <rnayak@ti.com>
Tue, 28 Feb 2012 09:32:34 +0000 (15:02 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 28 Feb 2012 23:56:40 +0000 (15:56 -0800)
VUSB is a fixed regulator, so get rid of the apply_uV constraint
for it, which fixes the following error seen at boot on omap4
SDP and PANDA boards.

machine_constraints_voltage: VUSB: failed to apply 3300000uV constraint
twl_reg twl_reg.46: can't register VUSB, -22
twl_reg: probe of twl_reg.46 failed with error -22

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/twl-common.c

index 10b20c652e5dc390026bc1eec5042ff351c387f4..4b57757bf9d1200cf4e47e099734ec424cad47d2 100644 (file)
@@ -270,7 +270,6 @@ static struct regulator_init_data omap4_vusb_idata = {
        .constraints = {
                .min_uV                 = 3300000,
                .max_uV                 = 3300000,
-               .apply_uV               = true,
                .valid_modes_mask       = REGULATOR_MODE_NORMAL
                                        | REGULATOR_MODE_STANDBY,
                .valid_ops_mask         = REGULATOR_CHANGE_MODE