ASoC: dwc: Ensure FIFOs are flushed to prevent channel swap
authorAndrew Jackson <Andrew.Jackson@arm.com>
Fri, 3 Oct 2014 08:29:01 +0000 (09:29 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Tue, 7 Oct 2014 11:11:01 +0000 (12:11 +0100)
commit42d84fc1403e388fda83ce83f7897b4563d21c3f
tree3ec55a98adec07224fa4d3bf7cf4d28fcf9b4e05
parentc1929e6949be72b4f7cdb8da5ecc6195854316ed
ASoC: dwc: Ensure FIFOs are flushed to prevent channel swap

If the FIFOs aren't flushed, the left/right channels may be swapped:
this may occur if the FIFOs are not empty when the streams start.

Signed-off-by: Andrew Jackson <Andrew.Jackson@arm.com>
sound/soc/dwc/designware_i2s.c