diff options
author | Archit Taneja <archit@ti.com> | 2012-06-21 09:33:55 +0530 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-06-29 10:10:03 +0300 |
commit | 6d523e7b0e25e360ab55c283d9f8d49ce843c565 (patch) | |
tree | b6a34ff556b5257f8d0b62e4bd8dd6359f9b1016 /drivers/video/omap2/dss/sdi.c | |
parent | 3a5383a2373fd5bc5ebdd781c8ac89ab5d0cb8a4 (diff) | |
download | op-kernel-dev-6d523e7b0e25e360ab55c283d9f8d49ce843c565.zip op-kernel-dev-6d523e7b0e25e360ab55c283d9f8d49ce843c565.tar.gz |
OMAPDSS: Remove passive matrix LCD support (part 1)
Remove clock constraints related to passive matrix displays.
There is a constraint (pcd_min should be 3) for passive matrix displays. Remove
this constraint in clock divider calculations as we won't support passive
matrix displays any more.
This cleans up the functions which calculate the clock dividers with DSI's PLL
or DSS_FCLK as the clock source.
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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/sdi.c b/drivers/video/omap2/dss/sdi.c index 3a43dc2..d07ecc4 100644 --- a/drivers/video/omap2/dss/sdi.c +++ b/drivers/video/omap2/dss/sdi.c @@ -84,8 +84,7 @@ int omapdss_sdi_display_enable(struct omap_dss_device *dssdev) dispc_mgr_set_pol_freq(dssdev->manager->id, dssdev->panel.config, dssdev->panel.acbi, dssdev->panel.acb); - r = dss_calc_clock_div(1, t->pixel_clock * 1000, - &dss_cinfo, &dispc_cinfo); + r = dss_calc_clock_div(t->pixel_clock * 1000, &dss_cinfo, &dispc_cinfo); if (r) goto err_calc_clock_div; |