summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorStuart Hayhurst <stuart.a.hayhurst@gmail.com>2023-11-14 11:38:08 +0000
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2023-11-15 14:30:51 +0200
commit7a3c36eef9a5d13b16aa954da54224c9c6bed339 (patch)
tree78164cea3670089a7d763305e8272075fbb0abdf /Kconfig
parent9fadd4509966e375952f31ae954ab5eae76f90fe (diff)
platform/x86: ideapad-laptop: Set max_brightness before using it
max_brightness is used in ideapad_kbd_bl_brightness_get() before it's set, causing ideapad_kbd_bl_brightness_get() to return -EINVAL sometimes. Fixes: ecaa1867b524 ("platform/x86: ideapad-laptop: Add support for keyboard backlights using KBLC ACPI symbol") Signed-off-by: Stuart Hayhurst <stuart.a.hayhurst@gmail.com> Cc: stable@vger.kernel.org Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20231114114055.6220-2-stuart.a.hayhurst@gmail.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions