aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2024-02-16 21:33:00 +0100
committerHans de Goede <hdegoede@redhat.com>2024-02-20 14:35:35 +0100
commit84c16d01ff219bc0a5dca5219db6b8b86a6854fb (patch)
treef207fc9865c4a78030bbf5544a859f469b54ed5e
parent8215ca518164d35f10c0b5545c8bb80f538638b8 (diff)
downloadlinux-84c16d01ff219bc0a5dca5219db6b8b86a6854fb.tar.gz
platform/x86: intel-vbtn: Stop calling "VBDL" from notify_handler
Commit 14c200b7ca46 ("platform/x86: intel-vbtn: Fix missing tablet-mode-switch events") causes 2 issues on the ThinkPad X1 Tablet Gen2: 1. The ThinkPad will wake up immediately from suspend 2. When put in tablet mode SW_TABLET_MODE reverts to 0 after about 1 second Both these issues are caused by the "VBDL" ACPI method call added at the end of the notify_handler. And it never became entirely clear if this call is even necessary to fix the issue of missing tablet-mode-switch events on the Dell Inspiron 7352. Drop the "VBDL" ACPI method call again to fix the 2 issues this is causing on the ThinkPad X1 Tablet Gen2. Fixes: 14c200b7ca46 ("platform/x86: intel-vbtn: Fix missing tablet-mode-switch events") Reported-by: Alexander Kobel <a-kobel@a-kobel.de> Closes: https://lore.kernel.org/platform-driver-x86/295984ce-bd4b-49bd-adc5-ffe7c898d7f0@a-kobel.de/ Cc: regressions@lists.linux.dev Cc: Arnold Gozum <arngozum@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Hans de Goede <hdegoede@redhat.com> Tested-by: Alexander Kobel <a-kobel@a-kobel.de> Link: https://lore.kernel.org/r/20240216203300.245826-1-hdegoede@redhat.com
Notes
Fixes: 14c200b7ca46 ("platform/x86: intel-vbtn: Fix missing tablet-mode-switch events") # v6.7-rc6 Fixes-stable: 4dceffd823b7 ("platform/x86: intel-vbtn: Fix missing tablet-mode-switch events") # v6.6.13 Fixes-stable: bb0e510b742b ("platform/x86: intel-vbtn: Fix missing tablet-mode-switch events") # v6.1.74 Fixes-stable: 7b0586ada944 ("platform/x86: intel-vbtn: Fix missing tablet-mode-switch events") # v5.15.148 Stable: e78a4e221ebf # v6.6.19 Stable: fff39f496265 # v6.1.80 Stable: 79d7504a24a3 # v5.15.150 Lore: https://lore.kernel.org/r/20240216203300.245826-1-hdegoede@redhat.com # platform-driver-x86, regressions Lore: https://lore.kernel.org/r/20240227131613.742771568@linuxfoundation.org # linux-patches, regressions, stable Lore: https://lore.kernel.org/r/20240227131617.839986631@linuxfoundation.org # linux-patches, regressions, stable Lore: https://lore.kernel.org/r/20240227131631.070692170@linuxfoundation.org # linux-patches, regressions, stable Lore: https://lore.kernel.org/r/20240227131636.318820529@linuxfoundation.org # linux-patches, regressions, stable
-rw-r--r--drivers/platform/x86/intel/vbtn.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/platform/x86/intel/vbtn.c b/drivers/platform/x86/intel/vbtn.c
index 210b0a81b7ecbe..084c355c86f5fa 100644
--- a/drivers/platform/x86/intel/vbtn.c
+++ b/drivers/platform/x86/intel/vbtn.c
@@ -200,9 +200,6 @@ static void notify_handler(acpi_handle handle, u32 event, void *context)
autorelease = val && (!ke_rel || ke_rel->type == KE_IGNORE);
sparse_keymap_report_event(input_dev, event, val, autorelease);
-
- /* Some devices need this to report further events */
- acpi_evaluate_object(handle, "VBDL", NULL, NULL);
}
/*