commit | 35c77cdafcc778ff6bd94787c2e1c1e494af5c7b | [log] [tgz] |
---|---|---|
author | Stephen Boyd <swboyd@chromium.org> | Tue May 03 04:17:19 2022 |
committer | Douglas Anderson <dianders@chromium.org> | Wed May 25 15:12:27 2022 |
tree | 939cf06f98fea72bc207b4bbcf8a198975100590 | |
parent | 4679bf2844660b0eb5eea1ecade84b9ce17eec7d [diff] |
CHROMIUM: Input: cros-ec-keyb - Add in driver data for acpi id Set the driver data for the ACPI device id to indicate that it always expects buttons and switches. BUG=b:229004203 TEST=emerge-strongbad chromeos-kernel-5_4; Boot on wormdingler; evtest shows no more cros_ec device Change-Id: Ic164da09146222baa277014d8e78d9ec89908d60 Signed-off-by: Stephen Boyd <swboyd@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3625918 Reviewed-by: Douglas Anderson <dianders@chromium.org>
diff --git a/drivers/input/keyboard/cros_ec_keyb.c b/drivers/input/keyboard/cros_ec_keyb.c index d0372c9..c5cc66a0 100644 --- a/drivers/input/keyboard/cros_ec_keyb.c +++ b/drivers/input/keyboard/cros_ec_keyb.c
@@ -742,7 +742,7 @@ #ifdef CONFIG_ACPI static const struct acpi_device_id cros_ec_keyb_acpi_match[] = { - { "GOOG0007", 0 }, + { "GOOG0007", (kernel_ulong_t)true }, { } }; MODULE_DEVICE_TABLE(acpi, cros_ec_keyb_acpi_match);