ASoC: cs4265: SOC_SINGLE register value error fix
authorMatt Flax <flatmax@flatmax.org>
Wed, 29 Aug 2018 23:38:00 +0000 (09:38 +1000)
committerMark Brown <broonie@kernel.org>
Fri, 31 Aug 2018 14:57:03 +0000 (15:57 +0100)
commit6f18bcdaa24bae39c746b57b95af19ff3c41b17f
tree31947326b80d6aa468c6113845457f301926d149
parentdb658f40cae33a9fddbd9ca5c35c6bbfbd593a82
ASoC: cs4265: SOC_SINGLE register value error fix

The cs4265 driver declares the "MMTLR Data Switch" register setting with
a 0 register value rather then the 0x12 register (CS4265_SPDIF_CTL2).
This incorrect value causes alsamixer to fault with the output :
cannot load mixer controls: Input/output error

This patch corrects the register value. alsamixer now runs.

Signed-off-by: Matt Flax <flatmax@flatmax.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs4265.c