From: Matthew Garrett Date: Tue, 22 Mar 2011 23:30:27 +0000 (-0700) Subject: mbp_nvidia_bl: check that the backlight control functions X-Git-Tag: v2.6.39-rc1~362 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99fd28e19429f5212f0758adc1b2f08c6e63b6db;p=pandora-kernel.git mbp_nvidia_bl: check that the backlight control functions The SMI-based backlight control functionality may fail to work if the system is running under EFI rather than BIOS. Check that the hardware responds as expected, and exit if it doesn't. Signed-off-by: Matthew Garrett Acked-by: Richard Purdie Cc: Mourad De Clerck Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed