ASoC: cs42l42: Correct definition of CS42L42_ADC_PDN_MASK
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Wed, 16 Jun 2021 13:56:04 +0000 (14:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 14:56:46 +0000 (16:56 +0200)
[ Upstream commit fac165f22ac947b55407cd3a60a2a9824f905235 ]

The definition of CS42L42_ADC_PDN_MASK was incorrectly defined
as the HP_PDN bit.

Fixes: 2c394ca79604 ("ASoC: Add support for CS42L42 codec")
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210616135604.19363-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/cs42l42.h

index 866d7c8..ca20197 100644 (file)
@@ -77,7 +77,7 @@
 #define CS42L42_HP_PDN_SHIFT           3
 #define CS42L42_HP_PDN_MASK            (1 << CS42L42_HP_PDN_SHIFT)
 #define CS42L42_ADC_PDN_SHIFT          2
-#define CS42L42_ADC_PDN_MASK           (1 << CS42L42_HP_PDN_SHIFT)
+#define CS42L42_ADC_PDN_MASK           (1 << CS42L42_ADC_PDN_SHIFT)
 #define CS42L42_PDN_ALL_SHIFT          0
 #define CS42L42_PDN_ALL_MASK           (1 << CS42L42_PDN_ALL_SHIFT)