Commit a8520be
pinctrl: intel: Restore the pins that used to be in Direct IRQ mode
If the firmware mangled the register contents too much,
check the saved value for the Direct IRQ mode. If it
matches, we will restore the pin state.
Reported-by: Jim Minter <jimminter@microsoft.com>
Fixes: 6989ea4 ("pinctrl: intel: Save and restore pins in "direct IRQ" mode")
Tested-by: Jim Minter <jimminter@microsoft.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Link: https://lore.kernel.org/r/20230206141558.20916-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>1 parent 5921b25 commit a8520be
1 file changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1709 | 1709 | | |
1710 | 1710 | | |
1711 | 1711 | | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
1712 | 1718 | | |
1713 | 1719 | | |
1714 | 1720 | | |
| |||
1742 | 1748 | | |
1743 | 1749 | | |
1744 | 1750 | | |
1745 | | - | |
1746 | | - | |
| 1751 | + | |
1747 | 1752 | | |
1748 | 1753 | | |
1749 | 1754 | | |
| |||
1873 | 1878 | | |
1874 | 1879 | | |
1875 | 1880 | | |
1876 | | - | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
1877 | 1887 | | |
1878 | 1888 | | |
1879 | 1889 | | |
| |||
0 commit comments