realtek: replace fix for spurious GPIO interrupts
authorSander Vanheule <sander@svanheule.net>
Sun, 4 Sep 2022 18:21:11 +0000 (20:21 +0200)
committerSander Vanheule <sander@svanheule.net>
Sun, 4 Sep 2022 18:55:15 +0000 (20:55 +0200)
commitf1802b0db7e22f98e1718e2c8bec29b2842f5aea
tree6452726fb0b48a0fc47e1e5987872a9d2de634b3
parentb8f8c6f2dd8d47216117cb5b78184531ab21dddd
realtek: replace fix for spurious GPIO interrupts

8 and 16 bit writes to the GPIO peripheral are apparently not supported,
and only worked most of the time. This resulted in garbabe writes to the
interrupt mask registers, causing spurious unhandled interrupts, which
could lead to CPU lock-ups as these kept retriggering.

Instead of clearing these spurious interrupt when they occur, the
upstream patch will just make sure all register writes have the intended
result, so these don't happen at all.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/patches-5.10/317-gpio-realtek-otto-clear-spurious-interrups.patch [deleted file]
target/linux/realtek/patches-5.10/317-gpio-realtek-otto-switch-to-32-bit-I-O.patch [new file with mode: 0644]