audio: auge: modify share buffer can be occupied by later module [1/2]
PD#SWPL-5300
Problem:
share buffer is not alaway used for tdm and spdif,
but raw data needs to output by spdif.
this would lead to spk silence for dual output
Solution:
share buffer can be occupied by later module.
when tdm and spdif output in share buffer, then play spdif,
spdif will release from share buffer,
only frddr is only used for tdm, another new frddr is used for spdif.
Verify:
x301
Change-Id: Ib0c2e02e575f496c0b0911d347857ede0d0cfa14
Signed-off-by: Xing Wang <xing.wang@amlogic.com>