linux-kernel-test/drivers/video/omap2
Archit Taneja 2e063c305a OMAPDSS: DSI: Fix bug when calculating LP command interleaving parameters
In function dsi_compute_interleave_lp(), the escape clock/LP clock time period
is calculated incorrectly. The escape clock/LP clock is calculated as:

LP Clock(Hz) = DSI_FCLK(Hz) / lp_clk_div

Since we are calculating the time period of LP clock, the LP clock divider
should be multiplied with the time period of DSI_FCLK.

Calculating incorrect value of txclkesc results in incorrect calculation of LP
interleaving parameters, it also creates a possibility of a divide by zero
error.

Reported-by: Sureshkumar Manimuthu <mail2msuresh@ti.com>

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2012-06-04 13:07:51 +03:00
..
displays OMAPDSS: Taal: fix compilation warning 2012-06-04 11:04:40 +03:00
dss OMAPDSS: DSI: Fix bug when calculating LP command interleaving parameters 2012-06-04 13:07:51 +03:00
omapfb OMAPFB: remove compiler warnings when CONFIG_BUG=n 2012-05-22 10:59:15 +03:00
Kconfig OMAP: DSS2: Add generic and Sharp panel drivers 2009-12-09 18:19:42 +02:00
Makefile OMAP2: avoid descending into disabled framebuffer dirs 2011-05-11 14:20:53 +03:00
vram.c OMAPDSS: Remove video SRAM support 2012-02-23 09:38:26 +02:00
vrfb.c OMAPDSS: VRFB: remove compiler warnings when CONFIG_BUG=n 2012-05-22 10:59:15 +03:00