Skip to contentSkip to conversation

ASoC: sgtl5000: Fix warning due to the lack of REGULATOR_CHANGE_VOLTAGE

PATCH Applied Fabio Estevam 2 participants 2 messages Apr 3, 2012

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author maintainer
#0 lore raw

PATCH v2 1/1 ASoC: sgtl5000: Fix warning due to the lack of REGULATOR_CHANGE_VOLTAGE

Fix the following warning during kernel boot:

0-000a: 850 <--> 1600 mV at 1200 mV normal 0-000a: Voltage range but no REGULATOR_CHANGE_VOLTAGE

---
Changes since v1: Keep the voltage constant

 sound/soc/codecs/sgtl5000.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/sgtl5000.c +2 -2
index 8e92fb8..431c9c1 100644
@@ -84,8 +84,8 @@ static struct regulator_consumer_supply ldo_consumer[] = {
 
 static struct regulator_init_data ldo_init_data = {
 	.constraints = {
-		.min_uV                 = 850000,
-		.max_uV                 = 1600000,
+		.min_uV                 = 1200000,
+		.max_uV                 = 1200000,
 		.valid_modes_mask       = REGULATOR_MODE_NORMAL,
 		.valid_ops_mask         = REGULATOR_CHANGE_STATUS,
 	},
Signature · 1 line
1.7.1
Applied
#1 lore raw
Quoted 4 lines · Fabio Estevam

Fix the following warning during kernel boot:

0-000a: 850 <--> 1600 mV at 1200 mV normal 0-000a: Voltage range but no REGULATOR_CHANGE_VOLTAGE

Applied, thanks.