ASoC: sgtl5000: Fix warning due to the lack of REGULATOR_CHANGE_VOLTAGE
authorFabio Estevam <festevam@gmail.com>
Tue, 3 Apr 2012 21:05:20 +0000 (18:05 -0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 3 Apr 2012 23:50:53 +0000 (00:50 +0100)
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 <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/sgtl5000.c

index 77beb6d7d269239d5486b5f7607e10c11fff906f..977be8c456ffb780550725da4dcacc18ceb9005a 100644 (file)
@@ -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,
        },