sh: skip disabled LCDC channels
authorMagnus Damm <damm@igel.co.jp>
Sat, 15 Aug 2009 02:53:16 +0000 (02:53 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 15 Aug 2009 03:58:42 +0000 (12:58 +0900)
commit21bc1f024d0d4ea43fc0f2a43504e759261c7b18
tree2f02505203363e007d114e180ff799ed8223ccce
parent64f1607ffbbc772685733ea63e6f7f4183df1b16
sh: skip disabled LCDC channels

This patch updates the SuperH Mobile LCDC driver to skip
over disabled channels. Without this patch suspend-to-ram
operation will crash if deferred io is enabled.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sh_mobile_lcdcfb.c