audio: auge: fix spdif reset when used for share buffer [1/1]
authorXing Wang <xing.wang@amlogic.com>
Tue, 5 Mar 2019 02:45:46 +0000 (10:45 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 8 Mar 2019 11:34:15 +0000 (03:34 -0800)
commitf1b1f034d6df72867894d8daf024f7e3e87e7e9a
treebfdb4a8c2bb502deb77fc9913849e514204c7dfc
parentded6424dee45fdd038cce198ec1579a2b6c57313
audio: auge: fix spdif reset when used for share buffer [1/1]

PD#SWPL-3655

Problem:
spdif output 8 channel, channel map in wrong order.

Solution:
reset spdif before enable as soon as quickly.
modification is limited for tl1 now

Verify:
x301

Change-Id: I224032390404be85c77d7436a9be9148df09c997
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
sound/soc/amlogic/auge/sharebuffer.c
sound/soc/amlogic/auge/sharebuffer.h
sound/soc/amlogic/auge/spdif.c
sound/soc/amlogic/auge/spdif_hw.c
sound/soc/amlogic/auge/spdif_hw.h
sound/soc/amlogic/auge/tdm.c