ASoC: pcm512x: Implement the digital_mute interface
authorDimitris Papavasiliou <dpapavas@gmail.com>
Sat, 24 Nov 2018 20:05:42 +0000 (22:05 +0200)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:19 +0000 (00:08 +0100)
commita9f347f26afa4f244bbce16ed19f26ed57516919
treec95a6f6d5b67ecdc805f0f9aec82847c6ffd0355
parent0c7dd5c57f32ecd5e4b74d5441a1bc85ea3d8008
ASoC: pcm512x: Implement the digital_mute interface

[ Upstream commit 3500f1c589e92e0b6b1f8d31b4084fbde08d49cb ]

Clicks and pops of various volumes can be produced while the device is
opened, closed, put into and taken out of standby, or reconfigured.
Fix this, by implementing the digital_mute interface, so that the
output is muted during such operations.

Signed-off-by: Dimitris Papavasiliou <dpapavas@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/pcm512x.c
sound/soc/codecs/pcm512x.h