Gergo Koteles
f5e30a30fc
platform/x86: lenovo-ymc: Ignore the 0x0 state
...
[ Upstream commit d9dca21570 ]
While booting, Lenovo 14ARB7 reports 'lenovo-ymc: Unknown key 0 pressed'
warning. This is caused by lenovo_ymc_probe() calling lenovo_ymc_notify()
at probe time to get the initial tablet-mode-switch state and the key-code
lenovo_ymc_notify() reads from the firmware is not initialized at probe
time yet on the Lenovo 14ARB7.
The hardware/firmware does an ACPI notify on the WMI device itself when
it initializes the tablet-mode-switch state later on.
Add 0x0 YMC state to the sparse keymap to silence the warning.
Signed-off-by: Gergo Koteles <soyer@irl.hu >
Link: https://lore.kernel.org/r/08ab73bb74c4ad448409f2ce707b1148874a05ce.1724340562.git.soyer@irl.hu
[hdegoede@redhat.com: Reword commit message]
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-10 11:57:38 +02:00
..
2024-09-30 16:25:13 +02:00
2024-10-10 11:57:27 +02:00
2024-09-12 11:11:41 +02:00
2024-10-10 11:57:32 +02:00
2024-08-29 17:33:18 +02:00
2024-08-03 08:54:39 +02:00
2024-10-04 16:29:51 +02:00
2024-10-10 11:57:18 +02:00
2024-10-10 11:57:24 +02:00
2024-10-04 16:29:51 +02:00
2024-07-11 12:49:10 +02:00
2024-10-04 16:29:55 +02:00
2024-10-04 16:29:32 +02:00
2024-10-04 16:29:04 +02:00
2024-07-05 09:33:56 +02:00
2024-10-04 16:28:54 +02:00
2024-10-04 16:29:56 +02:00
2024-10-10 11:57:21 +02:00
2024-10-04 16:29:40 +02:00
2024-09-08 07:54:46 +02:00
2024-09-18 19:24:09 +02:00
2024-10-04 16:29:56 +02:00
2024-06-12 11:12:27 +02:00
2024-10-04 16:29:28 +02:00
2024-10-04 16:29:52 +02:00
2024-06-12 11:12:23 +02:00
2024-09-30 16:25:14 +02:00
2024-10-10 11:57:38 +02:00
2024-06-21 14:38:48 +02:00
2024-10-10 11:57:35 +02:00
2024-09-12 11:11:41 +02:00
2024-10-10 11:57:30 +02:00
2024-09-08 07:54:43 +02:00
2024-10-04 16:29:40 +02:00
2024-10-10 11:57:18 +02:00
2024-09-12 11:11:38 +02:00
2024-10-04 16:30:04 +02:00
2024-10-04 16:29:34 +02:00
2024-10-04 16:29:46 +02:00
2024-10-04 16:29:40 +02:00
2024-10-10 11:57:31 +02:00
2024-09-12 11:11:29 +02:00
2024-08-19 06:04:28 +02:00
2024-10-04 16:29:29 +02:00
2024-08-03 08:54:02 +02:00
2024-10-10 11:57:14 +02:00
2024-10-04 16:30:05 +02:00
2024-10-10 11:57:19 +02:00
2024-08-29 17:33:36 +02:00
2024-08-03 08:53:54 +02:00
2024-09-18 19:24:07 +02:00
2024-09-12 11:11:26 +02:00
2024-10-04 16:29:07 +02:00
2024-10-10 11:57:28 +02:00
2024-09-04 13:28:28 +02:00
2024-10-04 16:29:35 +02:00
2024-10-04 16:29:30 +02:00
2024-10-04 16:29:38 +02:00
2024-09-18 19:24:04 +02:00
2024-10-10 11:57:38 +02:00
2024-08-03 08:53:27 +02:00
2024-09-04 13:28:24 +02:00
2024-08-03 08:54:22 +02:00
2024-10-04 16:29:45 +02:00
2024-09-12 11:11:31 +02:00
2024-10-10 11:57:27 +02:00
2024-09-12 11:11:35 +02:00
2024-10-04 16:29:32 +02:00
2024-10-10 11:57:38 +02:00
2024-08-29 17:33:54 +02:00
2024-10-10 11:57:31 +02:00
2024-10-04 16:28:51 +02:00
2024-10-04 16:29:58 +02:00
2024-06-27 13:49:07 +02:00
2024-08-03 08:53:23 +02:00
2024-10-04 16:29:02 +02:00
2024-10-04 16:29:26 +02:00
2024-10-04 16:29:04 +02:00
2024-08-29 17:33:39 +02:00
2024-08-29 17:33:59 +02:00
2024-10-10 11:57:37 +02:00
2024-10-04 16:29:57 +02:00
2024-09-18 19:24:09 +02:00
2024-10-04 16:30:05 +02:00
2024-06-21 14:38:40 +02:00
2024-08-29 17:33:22 +02:00
2024-09-18 19:24:07 +02:00
2024-07-25 09:50:53 +02:00
2024-09-04 13:28:22 +02:00
2024-10-04 16:30:04 +02:00
2024-10-04 16:29:58 +02:00
2024-10-04 16:29:49 +02:00
2024-09-12 11:11:41 +02:00
2024-10-04 16:30:04 +02:00
2024-07-05 09:33:50 +02:00
2024-09-12 11:11:31 +02:00
2024-10-04 16:29:40 +02:00
2024-10-10 11:57:31 +02:00
2024-09-12 11:11:36 +02:00
2024-10-04 16:29:33 +02:00
2024-10-04 16:29:14 +02:00