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.38-rc1~398^2~2^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47356eb67285014527a5ab87543ba1fae3d1e10a;p=pandora-kernel.git drm/i915/panel: Only record the backlight level when it is enabled 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 Cc: stable@kernel.org --- Reading git-diff-tree failed