• P
    ASoC: twl6040: Add digital mute support · 98c5fb1f
    Peter Ujfalusi 提交于
    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: NPeter Ujfalusi <peter.ujfalusi@ti.com>
    Signed-off-by: NMark Brown <broonie@linaro.org>
    98c5fb1f
twl6040.c 34.4 KB