diff options
author | Jani Nikula <jani.nikula@intel.com> | 2016-08-23 08:10:05 (GMT) |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2016-08-29 11:59:05 (GMT) |
commit | 46e69f3982f6ed0f2575ee11649bc77b7a89fd3e (patch) | |
tree | 2399aa0464ba1faf1419aa5918730140b261b61f /fs/mbcache.c | |
parent | ce5e2ac1a47ee4a13a05e2400c520f7de9b4becd (diff) | |
download | linux-46e69f3982f6ed0f2575ee11649bc77b7a89fd3e.tar.xz |
drm/i915/backlight: handle enabled but zero duty cycle at module load
Don't consider enabled but zero duty cycle backlight disabled. Clamp
level between min and max for sanity.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1471939811-9817-1-git-send-email-maarten.lankhorst@linux.intel.com
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions