]> git.baikalelectronics.ru Git - kernel.git/commit
staging: gma500: Skip bogus LVDS VBT mode and check for LVDS before adding backlight
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Tue, 24 May 2011 12:04:56 +0000 (13:04 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 19:28:41 +0000 (12:28 -0700)
commite7c94c97f31a55d8035a4bccbb8bf0e5e1567c2f
tree834db02ffd3d5e66d972df7d8cd7d05213485fc5
parentc73e73755bac83133eaedd5ee10c1cd5ca3d2fa5
staging: gma500: Skip bogus LVDS VBT mode and check for LVDS before adding backlight

On the Fit-PC2 the VBT reports an invalid fixed panel mode for LVDS, this gets
in the way for SDVO. This patch makes VBT parsing skip the invalid mode. When
there is no LVDS output the backlight support crashes so the patch also checks
for this before enabling it.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/gma500/psb_drv.c
drivers/staging/gma500/psb_intel_bios.c