)]}'
{
  "commit": "205cccd06e545694754e1bf8d626ea96e742cd8a",
  "tree": "5824855c62344c2cbf2b4634d18c3d268f0bbc18",
  "parents": [
    "170aeff46fb54f41545c85a72aec525aebc79d44"
  ],
  "author": {
    "name": "Peng Fan",
    "email": "peng.fan@nxp.com",
    "time": "Tue Oct 13 14:01:12 2026 +0800"
  },
  "committer": {
    "name": "Bartosz Golaszewski",
    "email": "bartosz.golaszewski@oss.qualcomm.com",
    "time": "Thu Oct 15 14:21:15 2026 +0200"
  },
  "message": "gpio: mxc: fix race between gpiochip registration and IRQ domain setup\n\ndevm_gpiochip_add_data() makes the GPIO chip visible to consumers\nimmediately. Since the chip sets .to_irq \u003d mxc_gpio_to_irq, which calls\nirq_find_mapping(port-\u003edomain, offset), any to_irq() call between\ngpiochip registration and IRQ domain creation will operate on a NULL\ndomain.\n\nFix by moving devm_gpiochip_add_data() after the IRQ domain and generic\nirq chip are fully initialized, ensuring port-\u003edomain and the irq chip\nhandlers are ready before the chip becomes visible to consumers.\n\nFixes: d37a65bb4663 (\"gpio/mxc: Move Freescale MXC gpio driver to drivers/gpio\")\nSigned-off-by: Peng Fan \u003cpeng.fan@nxp.com\u003e\nReviewed-by: Linus Walleij \u003clinusw@kernel.org\u003e\nReviewed-by: Frank Li \u003cFrank.Li@nxp.com\u003e\nReviewed-by: Andy Shevchenko \u003candy@kernel.org\u003e\nLink: https://patch.msgid.link/20261013-gpio-mxc-cleanup-v7-4-c4d769587d3e@nxp.com\nSigned-off-by: Bartosz Golaszewski \u003cbartosz.golaszewski@oss.qualcomm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e3a80f17d0412e160dec57fd8e423dbb7ae1a418",
      "old_mode": 33188,
      "old_path": "drivers/gpio/gpio-mxc.c",
      "new_id": "32ded7b548fb7705f3507195f14178c16e4bd947",
      "new_mode": 33188,
      "new_path": "drivers/gpio/gpio-mxc.c"
    }
  ]
}
