ASoC: twl6040: Add digital mute support
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 24 Jun 2013 13:42:06 +0000 (15:42 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 24 Jun 2013 15:06:03 +0000 (16:06 +0100)
commit98c5fb1f875732e49ce223ba920204ec57f51511
tree1fc931d26a50230c9dc2be910e71d3f7bda82bc9
parent68897497aa2e1eb9c3a6b55f8212cd1edc22acd5
ASoC: twl6040: Add digital mute support

To reduce pop noise during playback stream start and stop the codec needs
to have the digital_mute callback implemented.
The codec need to be muted before the CPU dai has been stopped (McPDM).
Stopping the McPDM will generate a pop on the codec since no signal on the
PDM bus means full negative amplitude.
By managing the mute/unmute state of the outputs we can decrease the amount
of pop noise when playback starts or stops.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/twl6040.c
This page took 0.02665 seconds and 5 git commands to generate.