[v1,0/1] pinctrl:mtk: Fix kexec() initialization

Message ID 20221122-mtk-pinctrl-v1-0-bedf5655a3d2@chromium.org
Headers
Series pinctrl:mtk: Fix kexec() initialization |

Message

Ricardo Ribalda Nov. 21, 2022, 11:38 p.m. UTC
  When we use kexec to reboot a system, the hardware keeps its
old state.

This can be problematic for interrupt controllers.

Lets initialise the controller with a know state.

To: Sean Wang <sean.wang@kernel.org>
To: Linus Walleij <linus.walleij@linaro.org>
To: Matthias Brugger <matthias.bgg@gmail.com>
Cc: linux-mediatek@lists.infradead.org
Cc: linux-gpio@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Cc: Joel Fernandes (Google) <joel@joelfernandes.org>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ross Zwisler <zwisler@kernel.org>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>

---
Ricardo Ribalda (1):
      pinctrl: meditatek: Startup with the IRQs disabled

 drivers/pinctrl/mediatek/mtk-eint.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
base-commit: eb7081409f94a9a8608593d0fb63a1aa3d6f95d8
change-id: 20221122-mtk-pinctrl-a82d0240c848

Best regards,