summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/arizona.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2016-01-06 15:15:37 +0000
committerMark Brown <broonie@kernel.org>2016-01-06 17:39:31 +0000
commit24338722cfa23fdf4e08c6189a11f7e3a902d86a (patch)
treedde5efd0473b8ab72077ef3e86d10a9c0268f6b8 /sound/soc/codecs/arizona.c
parente73694d871867cae8471d2350ce89acb38bc2b63 (diff)
ASoC: wm5110: Fix PGA clear when disabling DRE
We don't want to use a bypassed write in wm5110_clear_pga_volume, we might disable the DRE whilst the CODEC is powered down. A normal regmap_write will always go to the hardware (when not on cache_only) even if the written value matches the cache. As using a normal write will still achieve the desired behaviour of bring the cache and hardware in sync, this patch updates the function to use a normal write, which avoids issues when the CODEC is powered down. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'sound/soc/codecs/arizona.c')
0 files changed, 0 insertions, 0 deletions