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:
0b5e92c
)
ASoC: cs4270: fix Master Capture Switch polarity
author
Daniel Mack
<daniel@caiaq.de>
Fri, 24 Apr 2009 13:00:25 +0000
(15:00 +0200)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 27 Apr 2009 19:37:49 +0000
(20:37 +0100)
The control modifies the MUTE register, hence the polarity must be
inverted.
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Acked-By: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/cs4270.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cs4270.c
b/sound/soc/codecs/cs4270.c
index
7fa09a3
..
3c34fe6
100644
(file)
--- a/
sound/soc/codecs/cs4270.c
+++ b/
sound/soc/codecs/cs4270.c
@@
-486,7
+486,7
@@
static const struct snd_kcontrol_new cs4270_snd_controls[] = {
SOC_SINGLE("Zero Cross Switch", CS4270_TRANS, 5, 1, 0),
SOC_SINGLE("Popguard Switch", CS4270_MODE, 0, 1, 1),
SOC_SINGLE("Auto-Mute Switch", CS4270_MUTE, 5, 1, 0),
- SOC_DOUBLE("Master Capture Switch", CS4270_MUTE, 3, 4, 1,
0
)
+ SOC_DOUBLE("Master Capture Switch", CS4270_MUTE, 3, 4, 1,
1
)
};
/*