]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00233494 EPDC: Driver only supports 16 LUTs
authorMichael Minnick <michael.minnick@freescale.com>
Tue, 13 Nov 2012 18:51:13 +0000 (12:51 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:45 +0000 (08:35 +0200)
commitce6930dd3b065e28fc01799e19b7b2e387588d90
tree7d780636c4df81b5879f66f3672d40c1166b6ac0
parent0fd3b97b5946566bc06a108c995aa65d4785eca7
ENGR00233494 EPDC: Driver only supports 16 LUTs

This bug was introduced by ENGR00229290 which fixed
the problem of greater than 16 LUTs used when 5-bit
waveform loaded. The bug is that now the driver is also
restricted to using 16 LUTs in 4-bit mode.

The fix is to correct the test of the EPDC_FORMAT
register used to determine if a 5-bit waveform
is loaded.

Also removed the while loop in favor of a bitwise OR
used to determine if a chosen LUT has yet to be
acknowledged by the interrupt handler.

Signed-off-by: Michael Minnick <michael.minnick@freescale.com>
drivers/video/mxc/epdc_regs.h
drivers/video/mxc/mxc_epdc_fb.c