projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28108d7
)
ASoC: cs42l42: Correct definition of CS42L42_ADC_PDN_MASK
author
Richard Fitzgerald
<rf@opensource.cirrus.com>
Wed, 16 Jun 2021 13:56:04 +0000
(14:56 +0100)
committer
Mark Brown
<broonie@kernel.org>
Wed, 16 Jun 2021 14:41:06 +0000
(15:41 +0100)
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>
sound/soc/codecs/cs42l42.h
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cs42l42.h
b/sound/soc/codecs/cs42l42.h
index
36b763f
..
386c40f
100644
(file)
--- a/
sound/soc/codecs/cs42l42.h
+++ b/
sound/soc/codecs/cs42l42.h
@@
-79,7
+79,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)