ARM: OMAP2+: Fix LCD panel backlight regression for LDP legacy booting
authorTony Lindgren <tony@atomide.com>
Fri, 27 Dec 2013 17:33:27 +0000 (09:33 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 20:25:09 +0000 (12:25 -0800)
commit9d80667d96e64c8801e3ae41a06dadd475efe60c
tree84fb2cbe5adff6ab3a26602217e4882bdb76a780
parent634f6cd42435329b48046bfd13cf6a2a5c077d92
ARM: OMAP2+: Fix LCD panel backlight regression for LDP legacy booting

commit 7e367c18c059c638bf6fb540f1decec18d64cb55 upstream.

Looks like the LCD panel on LDP has been broken quite a while, and
recently got fixed by commit 0b2aa8bed3e1 (gpio: twl4030: Fix regression
for twl gpio output). However, there's still an issue left where the panel
backlight does not come on if the LCD drivers are built into the
kernel.

Fix the issue by registering the DPI LCD panel only after the twl4030
GPIO has probed.

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
[tony@atomide.com: updated per Tomi's comments]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-omap2/board-ldp.c