avsync: spdif: fix the avsync for ms12 [1/4]
authorXiaoming Sui <xiaoming.sui@amlogic.com>
Mon, 15 Apr 2019 12:38:47 +0000 (20:38 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Tue, 23 Apr 2019 04:07:58 +0000 (21:07 -0700)
commit349448751688332d06986aed766e2d51045739ed
tree06082dcb2673cafc935e98a0891c14eaec4eabca
parentd96417a3cfe9be5d9697bd9f542539259df84995
avsync: spdif: fix the avsync for ms12 [1/4]

PD#SWPL-5837

Problem:
dtv is out of avsync when dolby ms12 certificate

Solution:
when the audio is played, recalculate the apts to sync
pcrsrc when pcrmaster.

Verify:
X301

Change-Id: I199383aa1c0de1b4f0ec646d9d066910b3bb2b42
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
sound/soc/amlogic/auge/spdif.c