]> git.baikalelectronics.ru Git - kernel.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)
commit73e6549eaa01db2e8c5ae032a65c80324741089f
treee34ee6b3e165d03bb0187457a6d6ac8256b51c95
parent34e95f59fbd9962b0a28b03906b93d76c18084d8
[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