Re: [PATCH v3 4/8] ASoC: sun8i-codec-analog: Add amplifier event to fix first delay

2017-01-31 Thread Maxime Ripard
On Tue, Jan 31, 2017 at 11:05:48AM +0100, Mylène Josserand wrote: > 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 t

[PATCH v3 4/8] ASoC: sun8i-codec-analog: Add amplifier event to fix first delay

2017-01-31 Thread Mylène Josserand
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 eve