OSDN Git Service

platform/x86: dell-laptop: fix kbd_get_state's request value
authorLaszlo Toth <laszlth@gmail.com>
Tue, 13 Feb 2018 20:43:43 +0000 (21:43 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 15 Feb 2018 10:18:33 +0000 (12:18 +0200)
commiteca39e7f0cdb9bde4003a29149fa695e876c6f73
tree2e1667e7476361a7bd55d1c192fa247a9fa1b3de
parented5b9ba7bef7f277cbdf315e385b44e0e3b1a9ab
platform/x86: dell-laptop: fix kbd_get_state's request value

Commit 9862b43624a5 ("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: 9862b43624a5 ("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>
drivers/platform/x86/dell-laptop.c