Skip to content

Commit

Permalink
ASoC: sgtl5000: Fix warning due to the lack of REGULATOR_CHANGE_VOLTAGE
Browse files Browse the repository at this point in the history
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

Signed-off-by: Fabio Estevam <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
fabioestevam authored and broonie committed Apr 3, 2012
1 parent 27f1d75 commit cd041f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/sgtl5000.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit cd041f6

Please sign in to comment.