aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-11-25 00:29:26 +0200
committerLinus Walleij <[email protected]>2022-11-28 21:41:31 +0100
commit6989ea4881c8944fbf04378418bb1af63d875ef8 (patch)
treee447273b3767f6ac11a901fd53f2bf00dcec9ba4 /lib/mpi/mpi-sub-ui.c
parent11780e37565db4dd064d3243ca68f755c13f65b4 (diff)
pinctrl: intel: Save and restore pins in "direct IRQ" mode
The firmware on some systems may configure GPIO pins to be an interrupt source in so called "direct IRQ" mode. In such cases the GPIO controller driver has no idea if those pins are being used or not. At the same time, there is a known bug in the firmwares that don't restore the pin settings correctly after suspend, i.e. by an unknown reason the Rx value becomes inverted. Hence, let's save and restore the pins that are configured as GPIOs in the input mode with GPIROUTIOXAPIC bit set. Cc: [email protected] Reported-and-tested-by: Dale Smith <[email protected]> Reported-and-tested-by: John Harris <[email protected]> BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=214749 Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Mika Westerberg <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions