dev_info(hdmi_drv->dev, "func: %s, enable_irq\n", __func__);
enable_irq(hdmi_drv->irq);
}
-#if 0
static irqreturn_t rk616_hdmi_irq(int irq, void *dev_id)
{
struct work_struct *rk616_irq_work_struct;
}
return IRQ_HANDLED;
}
-#endif
+
static int rk616_hdmi_drv_init(struct hdmi *hdmi_drv)
{
int ret = 0;
hdmi_drv->irq = 0;
} else {
/* request the IRQ */
- #if 0
ret = devm_request_irq(hdmi_drv->dev, hdmi_drv->irq,
rk616_hdmi_irq, 0,
dev_name(hdmi_drv->dev), hdmi_drv);
ret);
goto err2;
}
- #endif
}
#else
if (gpio_is_valid(hdmi_dev->rk616_drv->pdata->hdmi_irq)) {
#ifdef SOC_CONFIG_RK3036
hdmi_readl(hdmi_dev, HDMI_STATUS,&val);//enable hpg
val |= m_MASK_INT_HOTPLUG;
- hdmi_writel(hdmi_dev, HDMI_STATUS,val);
+ //hdmi_writel(hdmi_dev, HDMI_STATUS,val);
#else
hdmi_writel(hdmi_dev, INTERRUPT_MASK1, m_INT_HOTPLUG);
#endif