diff options
author | 2011-01-12 11:59:19 +0000 | |
---|---|---|
committer | 2011-01-12 20:24:50 +0000 | |
commit | c8303e7f3f3093c16ef0fa5f73280637c89d4368 (patch) | |
tree | 9d75bf6845964bf6dbe6b59bc129ad45590dfd6f /kernel/irq/pm.c | |
parent | drm/i915/debugfs: Correct format after changing type of err object 'size' (diff) | |
download | wireguard-linux-c8303e7f3f3093c16ef0fa5f73280637c89d4368.tar.xz wireguard-linux-c8303e7f3f3093c16ef0fa5f73280637c89d4368.zip |
drm/i915/panel: The backlight is enabled if the current value is non-zero
... and not if the maximum is non-zero. This fixes the typo introduced
in 47356eb6728501452 and preserves the backlight value from boot.
[ickle: My thanks also to Indan Zupancic for diagnosing the original
regression and suggesting the appropriate fix.]
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org # after 47356eb6728501452
Diffstat (limited to 'kernel/irq/pm.c')
0 files changed, 0 insertions, 0 deletions