]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: dwc: Ensure FIFOs are flushed to prevent channel swap
authorAndrew Jackson <Andrew.Jackson@arm.com>
Fri, 19 Dec 2014 16:18:05 +0000 (16:18 +0000)
committerJiri Slaby <jslaby@suse.cz>
Mon, 26 Jan 2015 13:38:42 +0000 (14:38 +0100)
commite3ab75edf0292a413a45448b993775ba4cc4dbd9
tree8182d9328dc5396e24a977c6fb04acefbd457fdc
parent63c9d40707fd0073533385632ed50673811d608a
ASoC: dwc: Ensure FIFOs are flushed to prevent channel swap

commit 3475c3d034d7f276a474c8bd53f44b48c8bf669d 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: Jiri Slaby <jslaby@suse.cz>
sound/soc/dwc/designware_i2s.c