sh: LCDC start_transfer() for the KFR2R09 board
authorMagnus Damm <damm@opensource.se>
Mon, 7 Dec 2009 14:26:05 +0000 (14:26 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 9 Dec 2009 03:40:45 +0000 (12:40 +0900)
commit657bf0bd068b2dc5244d553be66daac0a9e745d1
treee0d6358a7b5e1421fad4644335f9ba34195d9071
parentef61aae4ddf1dbd0e9b6ad21e2e57632a8fe76f6
sh: LCDC start_transfer() for the KFR2R09 board

This patch adds a ->start_transfer() callback to the
KFR2R09 lcd handling code. The callback is used to
notify the lcd controller that a new frame of data
is about to be transferred. The callback is only used
in combination with deferred io, but the code has
been tested both with and without deferred io enabled.

Without this patch the display data on the KFR2R09
lcd panel becomes corrupted over time.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-kfr2r09/lcd_wqvga.c
arch/sh/boards/mach-kfr2r09/setup.c
arch/sh/include/mach-kfr2r09/mach/kfr2r09.h