]> 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)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:12:18 +0000 (14:12 +0200)
commit6b65dd9f86a30a471f0a4307a4220f895607f3c4
tree1a0778d2ab67913cc434c7333f42cb90d02bcee2
parent5ffdb3391e19ca651e4371d7d17b50903d835c91
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