diff options
author | Archit Taneja <archit@ti.com> | 2012-06-29 14:00:54 +0530 |
---|---|---|
committer | Archit Taneja <archit@ti.com> | 2012-06-29 14:00:54 +0530 |
commit | f0d08f89ff27f7a600f21f443b6622132c9eb641 (patch) | |
tree | 317bf2ba54a4bd56fd43d5f237057ed6c0f20b47 /drivers/video/omap2/dss/sdi.c | |
parent | 465698ee7bf457d1a3f35f0cb6e1e8fa144946f5 (diff) | |
download | linux-f0d08f89ff27f7a600f21f443b6622132c9eb641.tar.bz2 |
OMAPDSS: DISPC: Change return type of dispc_mgr_set_clock_div()
dipsc_mgr_set_clock div has an int return type to report errors or success.
The function doesn't really check for errors and always returns 0. Change
the return type to void.
Checking for the correct DISPC clock divider ranges will be done when a DSS2
user does a manager apply. This support will be added later.
Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/sdi.c')
-rw-r--r-- | drivers/video/omap2/dss/sdi.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/video/omap2/dss/sdi.c b/drivers/video/omap2/dss/sdi.c index 0fcd4d7e202e..73f8357955ae 100644 --- a/drivers/video/omap2/dss/sdi.c +++ b/drivers/video/omap2/dss/sdi.c @@ -106,9 +106,7 @@ int omapdss_sdi_display_enable(struct omap_dss_device *dssdev) if (r) goto err_set_dss_clock_div; - r = dispc_mgr_set_clock_div(dssdev->manager->id, &dispc_cinfo); - if (r) - goto err_set_dispc_clock_div; + dispc_mgr_set_clock_div(dssdev->manager->id, &dispc_cinfo); dss_sdi_init(dssdev->phy.sdi.datapairs); r = dss_sdi_enable(); @@ -125,7 +123,6 @@ int omapdss_sdi_display_enable(struct omap_dss_device *dssdev) err_mgr_enable: dss_sdi_disable(); err_sdi_enable: -err_set_dispc_clock_div: err_set_dss_clock_div: err_calc_clock_div: dispc_runtime_put(); |