summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAjay Singh Parmar <aparmar@codeaurora.org>2014-10-02 15:15:46 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:34:38 -0700
commit21b8e5ce4875ffe13a652dcd1555b6e3ce58a7f1 (patch)
treeacc9c11a670faea3266eaa7c50d345f328ce8dd0
parenta20653094e92dad6ae17e3ec41fc707c9b116019 (diff)
msm: mdss: hdmi: remove unnecessary logs
Remove logs which are showing up quite frequently and doesn't help in debugging. Change-Id: Ibdc24bce17c798cbd0697ef00718b478a2c20a32 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
-rw-r--r--drivers/video/fbdev/msm/mdss_hdmi_cec.c4
-rw-r--r--drivers/video/fbdev/msm/mdss_hdmi_hdcp.c2
-rw-r--r--drivers/video/fbdev/msm/mdss_hdmi_tx.c7
3 files changed, 1 insertions, 12 deletions
diff --git a/drivers/video/fbdev/msm/mdss_hdmi_cec.c b/drivers/video/fbdev/msm/mdss_hdmi_cec.c
index 9495387e7839..3e9035a7a030 100644
--- a/drivers/video/fbdev/msm/mdss_hdmi_cec.c
+++ b/drivers/video/fbdev/msm/mdss_hdmi_cec.c
@@ -804,17 +804,13 @@ int hdmi_cec_isr(void *input)
io = cec_ctrl->init_data.io;
cec_intr = DSS_REG_R_ND(io, HDMI_CEC_INT);
- DEV_DBG("%s: cec interrupt status is [0x%x]\n", __func__, cec_intr);
if (!cec_ctrl->cec_enabled) {
- DEV_DBG("%s: cec is not enabled. Just clear int and return.\n",
- __func__);
DSS_REG_W(io, HDMI_CEC_INT, cec_intr);
return 0;
}
cec_status = DSS_REG_R_ND(io, HDMI_CEC_STATUS);
- DEV_DBG("%s: cec status is [0x%x]\n", __func__, cec_status);
if ((cec_intr & BIT(0)) && (cec_intr & BIT(1))) {
DEV_DBG("%s: CEC_IRQ_FRAME_WR_DONE\n", __func__);
diff --git a/drivers/video/fbdev/msm/mdss_hdmi_hdcp.c b/drivers/video/fbdev/msm/mdss_hdmi_hdcp.c
index f90c5e678ada..446df9f2a048 100644
--- a/drivers/video/fbdev/msm/mdss_hdmi_hdcp.c
+++ b/drivers/video/fbdev/msm/mdss_hdmi_hdcp.c
@@ -1364,8 +1364,6 @@ int hdmi_hdcp_isr(void *input)
/* Ignore HDCP interrupts if HDCP is disabled */
if (HDCP_STATE_INACTIVE == hdcp_ctrl->hdcp_state) {
- DEV_DBG("%s: HDCP inactive. Just clear int and return.\n",
- __func__);
DSS_REG_W(io, HDMI_HDCP_INT_CTRL, HDCP_INT_CLR);
return 0;
}
diff --git a/drivers/video/fbdev/msm/mdss_hdmi_tx.c b/drivers/video/fbdev/msm/mdss_hdmi_tx.c
index 0d2a8146ffa4..192b8c0355dc 100644
--- a/drivers/video/fbdev/msm/mdss_hdmi_tx.c
+++ b/drivers/video/fbdev/msm/mdss_hdmi_tx.c
@@ -2495,7 +2495,6 @@ static int hdmi_tx_audio_info_setup(struct platform_device *pdev,
}
if (!hdmi_tx_is_dvi_mode(hdmi_ctrl) && hdmi_ctrl->panel_power_on) {
-
/* Map given sample rate to Enum */
if (sample_rate == 32000)
sample_rate = AUDIO_SAMPLE_RATE_32KHZ;
@@ -2523,7 +2522,6 @@ static int hdmi_tx_audio_info_setup(struct platform_device *pdev,
DEV_ERR("%s: hdmi_tx_audio_iframe_setup failed.rc=%d\n",
__func__, rc);
} else {
- DEV_ERR("%s: Error. panel is not on.\n", __func__);
rc = -EPERM;
}
@@ -2540,11 +2538,8 @@ static int hdmi_tx_get_audio_edid_blk(struct platform_device *pdev,
return -ENODEV;
}
- if (!hdmi_ctrl->audio_sdev.state) {
- DEV_ERR("%s: failed. HDMI is not connected/ready for audio\n",
- __func__);
+ if (!hdmi_ctrl->audio_sdev.state)
return -EPERM;
- }
return hdmi_edid_get_audio_blk(
hdmi_ctrl->feature_data[HDMI_TX_FEAT_EDID], blk);