From: Chris Wilson Date: Tue, 11 Jan 2011 17:06:04 +0000 (+0000) Subject: drm/i915/panel: Only record the backlight level when it is enabled X-Git-Tag: v2.6.37.1~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3719e122dd3ae24d3419c261647bada674ff9246;p=pandora-kernel.git drm/i915/panel: Only record the backlight level when it is enabled commit 47356eb67285014527a5ab87543ba1fae3d1e10a upstream. By tracking the current status of the backlight we can prevent recording the value of the current backlight when we have disabled it. And so prevent restoring it to 'off' after an unbalanced sequence of intel_lvds_disable/enable. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=22672 Tested-by: Alex Riesen Tested-by: Larry Finger Signed-off-by: Chris Wilson Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed