Commit 81a5603
platform/x86: ideapad-laptop: Fix interrupt storm on fn-lock toggle on some Yoga laptops
Commit 3ae86d2 ("platform/x86: ideapad-laptop: Fix Legion 5 Fn lock
LED") uses the WMI event-id for the fn-lock event on some Legion 5 laptops
to manually toggle the fn-lock LED because the EC does not do it itself.
However, the same WMI ID is also sent on some Yoga laptops. Here, setting
the fn-lock state is not valid behavior, and causes the EC to spam
interrupts until the laptop is rebooted.
Add a set_fn_lock_led_list[] DMI-id list and only enable the workaround to
manually set the LED on models on this list.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=212671
Cc: Meng Dong <[email protected]>
Signed-off-by: Arnav Rawat <[email protected]>
Link: https://lore.kernel.org/r/12093851.O9o76ZdvQC@fedora
[[email protected]: Check DMI-id list only once and store the result]
Signed-off-by: Hans de Goede <[email protected]>1 parent 8b9b6a0 commit 81a5603
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| |||
1501 | 1502 | | |
1502 | 1503 | | |
1503 | 1504 | | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
1504 | 1508 | | |
1505 | 1509 | | |
1506 | 1510 | | |
| |||
1514 | 1518 | | |
1515 | 1519 | | |
1516 | 1520 | | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
1517 | 1533 | | |
1518 | 1534 | | |
1519 | 1535 | | |
| |||
1556 | 1572 | | |
1557 | 1573 | | |
1558 | 1574 | | |
| 1575 | + | |
1559 | 1576 | | |
1560 | 1577 | | |
1561 | 1578 | | |
| |||
0 commit comments