PD#SWPL-5579
Problem:
audio fifo underflow after switch audio pattern
on chroma 2233: only 2ch audio in, but audio fifo
is configed to read out 8ch afifo. chroma 2233
may change from multi-channel(witch audio overflows
and workaround to config read out all subpackets)
to 2-channel audio pattern, then issue happens.
so need to reset audio fifo config.
Solution:
except for workaround case, always config audio
fifo to only store valid subpackets.
Verify:
tl1
Change-Id: If32a55330fa7ebd9f6359a460eea4ad62872207b
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
*
*
*/
-#define RX_VER1 "ver.2019/02/13"
+#define RX_VER1 "ver.2019/03/14"
/*
*
*
*/
if (rx.aud_info.auds_layout)
rx_afifo_store_all_subpkt(true);
+ else
+ rx_afifo_store_all_subpkt(false);
//if (rx.aud_info.real_sr != 0)
//error |= hdmirx_audio_fifo_rst();
}
if (log_level & 0x100)
rx_pr("[irq] UNDERFL\n");
rx.irq_flag |= IRQ_AUD_FLAG;
+ rx_afifo_store_all_subpkt(false);
//if (rx.aud_info.real_sr != 0)
//error |= hdmirx_audio_fifo_rst();
}