]> Pileus Git - ~andy/linux/commit
ASoC: twl4030: Introduce local ctl register cache
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 3 Jan 2014 13:27:52 +0000 (15:27 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 8 Jan 2014 12:48:53 +0000 (12:48 +0000)
commit8b3bca2966985f559f9ace1effc98955006f2b05
treeb7041006495fffd09daa656d3fb2a7bdba416d39
parent0dc41562a44c9e1012bb810c2a84e81c425867b0
ASoC: twl4030: Introduce local ctl register cache

Few registers need to be cached in the codec driver level. These registers
should only be written when the path is active to avoid pop noise on the
given path.
This patch adds an array which covers the range where the sensitive registers
are located and uppon loadinf the driver the ctl cache will be initialized.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/twl4030.c