Skip to contentSkip to conversation

ARM: OMAP2+: Remove apply_uV constraints for fixed regulator

PATCH New Rajendra Nayak 2 participants 2 messages Feb 28, 2012

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

PATCH 1/1 ARM: OMAP2+: Remove apply_uV constraints for fixed regulator

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

---
 arch/arm/mach-omap2/twl-common.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/mach-omap2/twl-common.c +0 -1
index 10b20c6..4b57757 100644
@@ -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
Signature · 1 line
1.7.1
maintainer
#1 lore raw

PATCH 1/1 ARM: OMAP2+: Remove apply_uV constraints for fixed regulator

Quoted 7 lines · Rajendra Nayak

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

Thanks applying into fixes.

Tony