summaryrefslogtreecommitdiffstats
path: root/sound/soc/rockchip
diff options
context:
space:
mode:
authorMylène Josserand <mylene.josserand@free-electrons.com>2017-02-02 10:24:18 +0100
committerMark Brown <broonie@kernel.org>2017-02-03 13:02:06 +0100
commitbf14da7e55169964a1e6f35dc9d7428dc9e9013c (patch)
tree1eafd9d4e920143aff76b8fa6ff4f8f37d8daf11 /sound/soc/rockchip
parentASoC: sun4i-spdif: Add support for the H3 SoC (diff)
downloadlinux-bf14da7e55169964a1e6f35dc9d7428dc9e9013c.tar.xz
linux-bf14da7e55169964a1e6f35dc9d7428dc9e9013c.zip
ASoC: sun8i-codec-analog: Add amplifier event to fix first delay
When playing a sound for the first time, a short delay, where the audio file is not played, can be noticed. On a second play (right after), the sound is played correctly. If we wait a short time (~5 sec which corresponds to the aplay timeout), the delay is back. This patch fixes it by using an event on headphone amplifier. It allows to keep the amplifier enable while playing a sound. A delay of 700ms allows to wait that the amplifier is powered-up before playing the sound. Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip')
0 files changed, 0 insertions, 0 deletions