ASoC: dwc: Ensure FIFOs are flushed to prevent channel swap

commit 3475c3d034 upstream.

Flush the FIFOs when the stream is prepared for use.  This avoids
an inadvertent swapping of the left/right channels if the FIFOs are
not empty at startup.

Signed-off-by: Andrew Jackson <Andrew.Jackson@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
Andrew Jackson 2014-12-19 16:18:05 +00:00 • committed by Luis Henriques
commit d9bea83090