#include "cat66121_hdmi.h"
#include "cat66121_hdmi_hw.h"
-#define HDMI_POLL_MDELAY 100
+#define HDMI_POLL_MDELAY 50//100
struct cat66121_hdmi_pdata *cat66121_hdmi = NULL;
struct hdmi *hdmi=NULL;
rc = -ENXIO;
goto err_request_lcdc;
}
+
+ cat66121_hdmi->plug_status = -1;
+#ifdef SUPPORT_HDCP
+ hdmi->irq = INVALID_GPIO;
+#else
hdmi->irq = gpio_to_irq(client->irq);
+#endif
+
hdmi->xscale = 100;
hdmi->yscale = 100;
hdmi->insert = cat66121_hdmi_sys_insert;
}
#endif
- if(client->irq != INVALID_GPIO) {
+ if(hdmi->irq != INVALID_GPIO) {
cat66121_irq_work_func(NULL);
if((rc = gpio_request(client->irq, "hdmi gpio")) < 0)
{