]> 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)
commitc40a92573864cde14c4233685de9ca6b16dd767b
tree834db02ffd3d5e66d972df7d8cd7d05213485fc5
parent7c70b0a0cc86a6bce0f8d892628b159e02f0cee0
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