mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 10:29:37 +00:00
platform/x86: dell-laptop: fix kbd_get_state's request value
Commit9862b43624
("platform/x86: dell-laptop: Allocate buffer on heap rather than globally") broke one request, changed it back to the original value. Tested on a Dell E6540, backlight came back. Fixes:9862b43624
("platform/x86: dell-laptop: Allocate buffer on heap rather than globally") Signed-off-by: Laszlo Toth <laszlth@gmail.com> Reviewed-by: Pali Rohár <pali.rohar@gmail.com> Reviewed-by: Mario Limonciello <mario.limonciello@dell.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
ed5b9ba7be
commit
eca39e7f0c
1 changed files with 1 additions and 1 deletions
|
@ -1279,7 +1279,7 @@ static int kbd_get_state(struct kbd_state *state)
|
||||||
struct calling_interface_buffer buffer;
|
struct calling_interface_buffer buffer;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
dell_fill_request(&buffer, 0, 0, 0, 0);
|
dell_fill_request(&buffer, 0x1, 0, 0, 0);
|
||||||
ret = dell_send_request(&buffer,
|
ret = dell_send_request(&buffer,
|
||||||
CLASS_KBD_BACKLIGHT, SELECT_KBD_BACKLIGHT);
|
CLASS_KBD_BACKLIGHT, SELECT_KBD_BACKLIGHT);
|
||||||
if (ret)
|
if (ret)
|
||||||
|
|
Loading…
Reference in a new issue