mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
Partial: audio: set hdmi format-check threshold by input samplerate [2/2]
PD#SWPL-6340 Problem: ddp audio input from hdmiin is not smooth Solution: set hdmiin format-check threshold by input sr Verify: Verified by x301. Change-Id: Idb8ffa616c3880b1c34d61ca4e8c2917343a9ffc Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
* such as fratv, frhdmirx
|
||||
*/
|
||||
|
||||
/*#define DEBUG*/
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/moduleparam.h>
|
||||
#include <linux/platform_device.h>
|
||||
@@ -172,7 +174,7 @@ static irqreturn_t extn_ddr_isr(int irq, void *devid)
|
||||
|
||||
p_extn->frhdmirx_same_cnt++;
|
||||
|
||||
if (p_extn->frhdmirx_same_cnt > 5)
|
||||
if (p_extn->frhdmirx_same_cnt > timeout_thres)
|
||||
frhdmirx_nonpcm2pcm_clr_reset(p_extn);
|
||||
|
||||
if (p_extn->frhdmirx_cnt == 0)
|
||||
|
||||
Reference in New Issue
Block a user