)]}'
{
  "commit": "cc5b3a44aa123e5b918122f8aa1ad768654b16d3",
  "tree": "b3bd7fd6a9c7522eed0d71f9550fa324822c9c48",
  "parents": [
    "1bf0ba46d9d2c784120fd9cb235c08add3a6e7be"
  ],
  "author": {
    "name": "Alexander Sverdlin",
    "email": "alexander.sverdlin@siemens.com",
    "time": "Tue Jan 27 17:05:06 2026 +0100"
  },
  "committer": {
    "name": "Chanwoo Choi",
    "email": "cw00.choi@samsung.com",
    "time": "Sun Mar 22 00:31:24 2026 +0900"
  },
  "message": "extcon: ptn5150: Avoid IRQ vs probe race and drop mutex\n\nThe IRQ is being requested quite early in probe sequence, where neither\nmutex has been taken, nor info-\u003eedev has been set yet. From this point on\none shall expect the handler to be called. The corresponding test for\n!info-\u003eedev looks pointless being not protected by the mutex.\n\nMoving the IRQ request to the end of probe sequence avoids the race against\nptn5150_check_state() and other init steps (devm_extcon_dev_allocate(),\ndevm_extcon_dev_register()).\n\nFinally it becomes obvious that the worker function doesn\u0027t run\nconcurrently with anything else and we can drop the mutex completely.\n\nThe change has been motivated by the following crash:\n\nUnable to handle kernel paging request at virtual address 006c727400353434\nCPU: 1 UID: 0 PID: 74 Comm: kworker/1:2 6.18.0-next-20251212\nWorkqueue: events ptn5150_irq_work [extcon_ptn5150]\npc : 0x6c727400353434\nlr : notifier_call_chain+0x80\nCall trace:\n 0x6c727400353434 (P)\n raw_notifier_call_chain+0x20\n extcon_sync+0xd0\n extcon_set_state_sync+0x3c\n ptn5150_check_state+0xf8 [extcon_ptn5150]\n ptn5150_irq_work [extcon_ptn5150]\n process_one_work\n worker_thread\n kthread\n ret_from_fork\nKernel panic - not syncing: Oops: Fatal exception\n\nCc: stable@vger.kernel.org\nFixes: 4ed754de2d66 (\"extcon: Add support for ptn5150 extcon driver\")\nSigned-off-by: Alexander Sverdlin \u003calexander.sverdlin@siemens.com\u003e\nSigned-off-by: Chanwoo Choi \u003ccw00.choi@samsung.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "eca1b140aeb0fe0cf9f310d80c13f7471227bd18",
      "old_mode": 33188,
      "old_path": "drivers/extcon/extcon-ptn5150.c",
      "new_id": "cb5646bf91c5e2a64ab1424729950e5a06d6b00b",
      "new_mode": 33188,
      "new_path": "drivers/extcon/extcon-ptn5150.c"
    }
  ]
}
