audio: audio ABUS stuck issue [1/1]
authorShuai Li <shuai.li@amlogic.com>
Tue, 4 Jun 2019 05:41:43 +0000 (13:41 +0800)
committerNick Xie <nick@khadas.com>
Mon, 5 Aug 2019 06:45:01 +0000 (14:45 +0800)
commit7e424ae1cc3488ccc64de0017d5bca7e57860881
tree50631bae9fcdac2bca2573d8916188e49d95b373
parent4b4381e1950f6fd386da376cbf02ac8696f71b30
audio: audio ABUS stuck issue [1/1]

PD#SWPL-9142

Problem:
Audio Abus may be stuck if it is stopped
when the burst is not finished.
And the stuck can't be recovered
unless reboot the system.

Solution:
Add check to make sure that the transfer
is over then start to disable the toddr fifo.

Verify:
TL1 stress test.

Change-Id: I28dcf84ddec421bc70370b2544f0bf1f3272e7b4
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
sound/soc/amlogic/auge/ddr_mngr.c
sound/soc/amlogic/auge/ddr_mngr.h
sound/soc/amlogic/auge/extn.c
sound/soc/amlogic/auge/loopback.c
sound/soc/amlogic/auge/pdm.c
sound/soc/amlogic/auge/spdif.c
sound/soc/amlogic/auge/tdm.c