]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] pxafb: fix the warning of incorrect lccr when lcd_conn is specified
authorEric Miao <ycmiao@ycmiao-ubuntu.internal.example.org>
Sat, 16 Aug 2008 07:50:51 +0000 (03:50 -0400)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 16 Aug 2008 15:39:16 +0000 (16:39 +0100)
commit4f3e2664622d23a17c6fc45a4df4c35cd2612ffb
treee34ee6b3e165d03bb0187457a6d6ac8256b51c95
parent9a1ac7e498b9fc367235aabeb5b86c1319db1de9
[ARM] pxafb: fix the warning of incorrect lccr when lcd_conn is specified

The newly introduced "lcd_conn" field for connected LCD panel type will
cause the original code to generate the warnings of incorrect lccr*.
This is unnecessary since well encoded LCD_* flags will not generate
incorrect combinition of lccr* bits. Skip the check if "lcd_conn" is
specified.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/pxafb.c