projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a665db
)
ASoC: cs4265: fix MMTLR Data switch control
author
Sébastien Szymanski
<
[email protected]
>
Thu, 6 Sep 2018 09:16:00 +0000
(11:16 +0200)
committer
Mark Brown
<
[email protected]
>
Mon, 10 Sep 2018 14:49:02 +0000
(15:49 +0100)
The MMTLR bit is in the CS4265_SPDIF_CTL2 register at address 0x12 bit 0
and not at address 0x0 bit 1. Fix this.
Signed-off-by: Sébastien Szymanski <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
Cc:
[email protected]
sound/soc/codecs/cs4265.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cs4265.c
b/sound/soc/codecs/cs4265.c
index 275677de669f0562b8fea2fe82c4cf07f33a90cd..407554175282fffe6b68bbfb9aaf33b3f564c0a4 100644
(file)
--- a/
sound/soc/codecs/cs4265.c
+++ b/
sound/soc/codecs/cs4265.c
@@
-157,8
+157,8
@@
static const struct snd_kcontrol_new cs4265_snd_controls[] = {
SOC_SINGLE("Validity Bit Control Switch", CS4265_SPDIF_CTL2,
3, 1, 0),
SOC_ENUM("SPDIF Mono/Stereo", spdif_mono_stereo_enum),
- SOC_SINGLE("MMTLR Data Switch",
0
,
-
1
, 1, 0),
+ SOC_SINGLE("MMTLR Data Switch",
CS4265_SPDIF_CTL2
,
+
0
, 1, 0),
SOC_ENUM("Mono Channel Select", spdif_mono_select_enum),
SND_SOC_BYTES("C Data Buffer", CS4265_C_DATA_BUFF, 24),
};