static int hdmi_panel_power(int on) { int rc; pr_debug("%s: HDMI Core: %s\n", __func__, (on ? "ON" : "OFF")); rc = hdmi_core_power(on, 1); pr_debug("%s: HDMI Core: %s: Success\n", __func__, (on ? "ON" : "OFF")); return rc; }
static int hdmi_panel_power(int on) { int rc; pr_debug("%s: HDMI Core: %s\n", __func__, (on ? "ON" : "OFF")); rc = hdmi_core_power(on, 1); #ifdef CONFIG_FB_MSM_HDMI_MSM_PANEL_CEC_SUPPORT if (rc) rc = hdmi_cec_power(on); #endif pr_debug("%s: HDMI Core: %s Success\n", __func__, (on ? "ON" : "OFF")); return rc; }