viafb: fix LCD hardware cursor regression
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sat, 16 Jan 2010 01:01:03 +0000 (17:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 16 Jan 2010 20:15:37 +0000 (12:15 -0800)
commit0b94190e1e60f96962b82d35729d7d44cf298ef8
tree276ef97fa1f46799a1d93376daafa5d857a19906
parent7e105057a34c83cea542dacc55ff0528bce67afa
viafb: fix LCD hardware cursor regression

Although I'd consider this a hardware bug, as there is hardware out that
for whatever reason does not support hardware cursors on LCD output we
have to care about it in the driver.  This fixes a regression (invisible
cursor) introduced by:

    viafb: cleanup viafb_cursor

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Reported-by: Julian Wollrath <jwollrath@web.de>
Tested-by: Julian Wollrath <jwollrath@web.de>
Cc: Scott Fang <ScottFang@viatech.com.cn>
Cc: Joseph Chan <JosephChan@via.com.tw>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/via/viafbdev.c