]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00215592 - EPDC fb: Fix bug in selecting next LUT when 0-31 busy
authorDanny Nold <dannynold@freescale.com>
Mon, 2 Jul 2012 17:57:58 +0000 (12:57 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:57 +0000 (08:34 +0200)
commit01895ed5f80c629e7e0f9c6858ca9048ed2d1ba0
tree1a0778d2ab67913cc434c7333f42cb90d02bcee2
parent6f9bf7a4cac025f284f628314cc813727ed4f32e
ENGR00215592 - EPDC fb: Fix bug in selecting next LUT when 0-31 busy

If LUT 63 is busy and LUTs 0-31 are busy, the epdc_choose_next_lut
function was not correctly selecting an available LUT between 32-62.
Instead, it was returning 0.  This fixes that issue by properly
offsetting the available LUT from the second 32-bit segment of the
64-bit LUT field.

Signed-off-by: Danny Nold <dannynold@freescale.com>
drivers/video/mxc/mxc_epdc_fb.c