summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/ak4642.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-10-13 14:57:31 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-13 11:50:05 +0100
commitedf413f689e930011bf39ec726f704af99d7263b (patch)
tree1883284699350a46737dfd9c3fd6f6baf9d3179d /sound/soc/codecs/ak4642.c
parentf0bbc2b55f47f93286bb1b9ddbdb8ffed3572064 (diff)
ASoC: sta32x: Write the register default value to cache for reserved registers
Chip documentation explicitly requires that the reset values of reserved register bits are left untouched. codec->hw_read is broken now. Here we use below trick to avoid writing to reserved registers while resume. Write the register default value to cache for reserved registers, so the write to the these registers are suppressed by the cache restore code when it skips writes of default registers. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/ak4642.c')
0 files changed, 0 insertions, 0 deletions