ASoC: davinci-mcasp: Clear TXSTAT register before activating serializers
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 16 Nov 2018 13:41:38 +0000 (15:41 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 28 Nov 2018 12:40:56 +0000 (12:40 +0000)
commit1003c27acfc2174558b2a0803bd6974e19be2738
treefe2e447f8e56b2d38bbf5de2172a1cd917a17599
parent61f94ee4a7435c35d78b22e4ae6e0551908000ae
ASoC: davinci-mcasp: Clear TXSTAT register before activating serializers

Follow the guideline from the TRM:
Before starting, clear the respective transmitter and receiver status
registers

To avoid stale state stored in the status registers.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/davinci/davinci-mcasp.c