dev_info(hdmi_dev->dev, "rk3288 hdmi probe sucess.\n");
return 0;
+#ifndef HDMI_INT_USE_POLL
err1:
+#endif
fb_unregister_client(&rk3288_hdmi_fb_notifier);
#ifdef CONFIG_SWITCH
switch_dev_unregister(&(dev_drv->switch_hdmi));
return 0;
}
+#ifdef HDMI_DEBUG
static int rk3288_hdmi_read_phy(struct rk3288_hdmi_device *hdmi_dev,
int reg_addr)
{
return -1;
}
+#endif
static int rk3288_hdmi_write_phy(struct rk3288_hdmi_device *hdmi_dev,
int reg_addr, int val)
static int hdmi_edid_parse_base(unsigned char *buf, int *extend_num,
struct hdmi_edid *pedid)
{
- int rc, i;
+ int rc;
+#ifdef DEBUG
+ int i = 0;
+#endif
if (buf == NULL || extend_num == NULL)
return E_HDMI_EDID_PARAM;
return 0;
}
+#ifdef HDMI_DEBUG
static void hdmi_show_sink_info(struct hdmi *hdmi)
{
struct list_head *pos, *head = &hdmi->edid.modelist;
}
hdmi_dbg(hdmi->dev, "******** Show Sink Info ********\n");
}
+#endif
/**
* hdmi_ouputmode_select - select hdmi transmitter output mode: hdmi or dvi?