hdmi_drv->suspend = 0;
rk3288_hdmi_initial(hdmi_drv);
if(hdmi_dev->irq == 0){
- queue_delayed_work(hdmi_drv->workqueue, &hdmi_dev->delay_work, msecs_to_jiffies(HDMI_POLL_MDELAY / 2));
+#ifdef HDMI_INT_USE_POLL
+ queue_delayed_work(hdmi_drv->workqueue, &hdmi_dev->delay_work, msecs_to_jiffies(5));
+#endif
}
else if(hdmi_drv->enable){
enable_irq(hdmi_drv->irq);
#define N_192K_MIDCLK 0x5000
#define N_192K_HIGHCLK 0x6000
-#define CALC_CTS(N, TMDSCLK, FS) ((N) / 128) * (TMDSCLK) / (FS)
+#define CALC_CTS(N, TMDSCLK, FS) ((N) / 32) * (TMDSCLK) / ((FS) * 4)
/****************************************/
#define AUD_N1 0x3200