ASoC: dwc: Ensure FIFOs are flushed to prevent channel swap
authorAndrew Jackson <[email protected]>
Fri, 19 Dec 2014 16:18:05 +0000 (16:18 +0000)
committerMark Brown <[email protected]>
Mon, 22 Dec 2014 15:05:54 +0000 (15:05 +0000)
commit3475c3d034d7f276a474c8bd53f44b48c8bf669d
tree97657a04139c460ae8785d09a33b3d71a6a99514
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
ASoC: dwc: Ensure FIFOs are flushed to prevent channel swap

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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Cc: [email protected]
sound/soc/dwc/designware_i2s.c