Skip to content
Commit 68a213d3 authored by Pali Rohár's avatar Pali Rohár Committed by Darren Hart (VMware)
Browse files

platform/x86: dell-laptop: Fix keyboard max lighting for Dell Latitude E6410



This machine reports number of keyboard backlight led levels, instead of
value of the last led level index. Therefore max_brightness properly needs
to be subtracted by 1 to match led max_brightness API.

Signed-off-by: default avatarPali Rohár <pali.rohar@gmail.com>
Reported-by: default avatarGabriel M. Elder <gabriel@tekgnowsys.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=196913


Signed-off-by: default avatarDarren Hart (VMware) <dvhart@infradead.org>
parent 4fbd8d19
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment