hdmirx: fix no HDR effect issue when the box is playing HDR videos
authoryicheng shen <yicheng.shen@amlogic.com>
Tue, 24 Apr 2018 07:53:50 +0000 (15:53 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Sat, 28 Apr 2018 04:51:02 +0000 (21:51 -0700)
PD#164596: hdmirx: fix no HDR effect issue when the box is playing HDR videos

The previous irq_handle logic may miss some interrupts with a low probability.

Change-Id: I6ff1d8d9e25abc5b36dd60b7a479cab7700458ee
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_drv.h
drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_wrapper.c

index 4d5bd21..82a571b 100644 (file)
@@ -34,7 +34,7 @@
 //#include "hdmi_rx_edid.h"
 
 
-#define RX_VER0 "ver.2018-04-13"
+#define RX_VER0 "ver.2018-04-24"
 /*
  *
  *
index 8c24b68..6c4319d 100644 (file)
@@ -431,6 +431,9 @@ static int hdmi_rx_ctrl_irq_handler(void)
        if (rx.irq_flag)
                tasklet_schedule(&rx_tasklet);
 
+       if (irq_need_clr)
+               error = 1;
+
        return error;
 }