diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-08-25 17:13:32 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-09-30 16:16:47 +0300 |
commit | 468c1b934c0367d15f90314ae316cd33551f70a5 (patch) | |
tree | 48387af7e9106247a1308bd5997c0fd9cee77d3e /drivers/video/omap2/dss/hdmi_panel.c | |
parent | 937fce138ff295df6f3bbb3b07464e3902b6bc0f (diff) | |
download | op-kernel-dev-468c1b934c0367d15f90314ae316cd33551f70a5.zip op-kernel-dev-468c1b934c0367d15f90314ae316cd33551f70a5.tar.gz |
OMAP: DSS2: HDMI: remove error prints in check_timings
check_timings() is supposed to be used to verify if timings are ok or
not. Currently the HDMI driver prints error messages if the timings are
not ok. This is not right, as it is no error to give invalid timings to
check_timings().
Remove the error prints.
Cc: Mythri P K <mythripk@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/hdmi_panel.c')
-rw-r--r-- | drivers/video/omap2/dss/hdmi_panel.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/video/omap2/dss/hdmi_panel.c b/drivers/video/omap2/dss/hdmi_panel.c index 79a3a5a..71aa813 100644 --- a/drivers/video/omap2/dss/hdmi_panel.c +++ b/drivers/video/omap2/dss/hdmi_panel.c @@ -170,11 +170,7 @@ static int hdmi_check_timings(struct omap_dss_device *dssdev, mutex_lock(&hdmi.hdmi_lock); r = omapdss_hdmi_display_check_timing(dssdev, timings); - if (r) { - DSSERR("Timing cannot be applied\n"); - goto err; - } -err: + mutex_unlock(&hdmi.hdmi_lock); return r; } |