From: Patrik Jakobsson Date: Tue, 24 May 2011 12:04:56 +0000 (+0100) Subject: staging: gma500: Skip bogus LVDS VBT mode and check for LVDS before adding backlight X-Git-Tag: v3.0-rc3~20^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ab8be53155617fa7ecc5b8cd259a458727a1d90;p=pandora-kernel.git 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 Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed