]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: cs4349: Set .writeable_reg for cs4349_regmap
authorAxel Lin <axel.lin@ingics.com>
Sun, 19 Jul 2015 01:14:23 +0000 (09:14 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 20 Jul 2015 17:18:46 +0000 (18:18 +0100)
commit0443de7e7e559eab7df2566d0e46940f753db51d
tree6902ccb157f2d80f5457d3fa2f39ccaa8fd63ad5
parentda304ac37efc1900892b5067c65f0ab8acfe3955
ASoC: cs4349: Set .writeable_reg for cs4349_regmap

The first valid register index is 1 rather than 0, and the CS4349_CHIPID
is readonly. So set .writeable_reg to avoid writing to these registers.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs4349.c