summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/board-mop500-uib.c
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-06-04 13:36:34 +0530
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-06-04 13:07:51 +0300
commit2e063c305a3da896ec3db99e66891411d0e38820 (patch)
treeb3c432f2d92d8391c555225f1a7cd25cd73a4c87 /arch/arm/mach-ux500/board-mop500-uib.c
parent5025ce070e2dff80bcf015a34a82edcf78229287 (diff)
downloadop-kernel-dev-2e063c305a3da896ec3db99e66891411d0e38820.zip
op-kernel-dev-2e063c305a3da896ec3db99e66891411d0e38820.tar.gz
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>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500-uib.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud