)]}'
{
  "commit": "1527451f87dfe368b8ddeeb501c24ac9bde6b589",
  "tree": "d4143b16b889095f7462623b29fdc654fdb1fac1",
  "parents": [
    "a1ba4d41db3b028a7885d26bcff4eeb28e6b025f"
  ],
  "author": {
    "name": "Alexander Kochetkov",
    "email": "al.kochet@gmail.com",
    "time": "Fri Oct 02 13:09:35 2026 +0300"
  },
  "committer": {
    "name": "Dmitry Torokhov",
    "email": "dmitry.torokhov@gmail.com",
    "time": "Mon Oct 19 15:12:26 2026 -0700"
  },
  "message": "Revert \"Input: matrix_keypad - force switch rows to input mode\"\n\nThis reverts commit 01c84b03d80aab9f04c4e3e1f9085f4202ff7c29.\n\nThe commit makes every scan call gpiod_direction_input() on the row\nGPIOs. On pin controllers where GPIO input and interrupt are separate\npinmux functions this switches the row pins out of interrupt mode, and\nenable_row_irqs() does not switch them back: it only unmasks the\ninterrupts. Row interrupts then never arrive and the keypad stops\nworking. Seen with a matrix keypad on an Allwinner A64 board (PINE\nA64-LTS); it works again with the commit reverted.\n\nThe workaround is not needed on Ingenic either: the author of the\nreverted commit re-tested all available JZ47xx SoCs and they all report\nthe live pin state in interrupt mode, see the thread in Link.\n\nFixes: 01c84b03d80a (\"Input: matrix_keypad - force switch rows to input mode\")\nLink: https://lore.kernel.org/all/4130C026-2A83-408B-836A-ECA044491C47@gmail.com/\nCc: stable@vger.kernel.org\nSigned-off-by: Alexander Kochetkov \u003cal.kochet@gmail.com\u003e\nAcked-by: Siarhei Volkau \u003clis8215@gmail.com\u003e\nAcked-by: Paul Cercueil \u003cpaul@crapouillou.net\u003e\nLink: https://patch.msgid.link/20261002100935.449473-1-al.kochet@gmail.com\nSigned-off-by: Dmitry Torokhov \u003cdmitry.torokhov@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "14a13abf32720ae665fa94cdc37f873f8be651b5",
      "old_mode": 33188,
      "old_path": "drivers/input/keyboard/matrix_keypad.c",
      "new_id": "d14d1d7274870ae92581fa35a9643f556d4a6f19",
      "new_mode": 33188,
      "new_path": "drivers/input/keyboard/matrix_keypad.c"
    }
  ]
}
