Files
linux/sound/soc/codecs
Hans de Goede 0aaa7e5566 ASoC: rt5670: Correct RT5670_LDO_SEL_MASK
commit 5cacc6f576 upstream.

The RT5670_PWR_ANLG1 register has 3 bits to select the LDO voltage,
so the correct mask is 0x7 not 0x3.

Because of this wrong mask we were programming the ldo bits
to a setting of binary 001 (0x05 & 0x03) instead of binary 101
when moving to SND_SOC_BIAS_PREPARE.

According to the datasheet 001 is a reserved value, so no idea
what it did, since the driver was working fine before I guess we
got lucky and it does something which is ok.

Fixes: 5e8351de74 ("ASoC: add RT5670 CODEC driver")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200628155231.71089-3-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-16 08:38:10 +09:00
..
2015-10-05 17:42:49 +01:00
2011-08-17 00:53:54 +09:00
2011-06-16 11:24:17 +01:00
2014-02-19 13:36:15 +09:00
2011-05-19 14:10:45 -07:00
2014-04-07 10:48:50 +01:00
2015-07-07 13:35:13 +01:00
2014-08-16 17:17:13 -05:00
2015-08-28 17:17:29 +01:00
2016-08-08 11:55:20 +01:00
2017-05-11 22:20:46 -07:00
2011-03-11 12:01:44 +00:00
2016-05-30 16:15:55 +01:00
2012-04-01 11:28:24 +01:00
2016-04-28 18:16:04 +01:00
2015-03-11 19:16:07 +00:00
2016-01-27 20:23:20 +00:00
2012-05-18 16:42:20 +01:00
2015-11-16 13:17:01 +00:00
2017-10-08 10:26:12 +02:00
2015-12-19 12:02:18 +00:00
2011-09-21 15:52:23 +01:00
2017-10-08 10:26:12 +02:00
2017-10-08 10:26:12 +02:00
2016-09-24 19:51:57 +01:00
2016-10-13 15:01:32 +02:00
2016-09-14 16:22:14 +01:00
2014-07-02 20:49:25 +01:00
2013-05-25 10:33:30 -04:00
2016-06-26 12:28:13 +01:00
2018-01-02 20:35:08 +01:00
2015-07-13 11:51:35 +01:00
2012-01-26 16:07:55 +00:00
2023-05-15 09:01:17 +09:00
2015-04-08 19:25:40 +01:00
2023-05-15 16:32:31 +09:00
2011-07-15 23:39:53 +09:00
2013-08-13 11:31:56 +01:00