)]}'
{
  "commit": "78d5f8cb50090a2888df284564f43f4ebfbf663c",
  "tree": "eb59ecc16afd5ff012834145145477ad667ca197",
  "parents": [
    "a7830e87555abfb81cc69275cecb2bc0fbde5b28"
  ],
  "author": {
    "name": "Peng Fan",
    "email": "peng.fan@nxp.com",
    "time": "Thu Jun 18 14:48:48 2026 +0800"
  },
  "committer": {
    "name": "Marek Vasut",
    "email": "marek.vasut+usb@mailbox.org",
    "time": "Thu Jun 18 16:48:16 2026 +0200"
  },
  "message": "usb: tcpm: fix inverted poll condition in tcpm_pd_transmit()\n\nThe read_poll_timeout() macro breaks out of its loop when the condition\nevaluates to true. The current code uses \"!tx_complete\" as the\ncondition, which means it exits immediately when tx_complete is false\n(i.e., transmission has NOT completed yet), rather than waiting for\ncompletion.\n\nFix the condition to \"tx_complete\" so that the poll loop waits until\nthe TCPC signals transmission success/failure/discard before\nproceeding.\n\nWithout this fix, tcpm_pd_transmit() returns before the TCPC has\nfinished transmitting, causing the PD state machine to proceed with\nstale tx_status values.\n\nFixes: 1db4c0ac77e3 (\"usb: tcpm: add core framework\")\nReviewed-by: Neil Armstrong \u003cneil.armstrong@linaro.org\u003e\nSigned-off-by: Peng Fan \u003cpeng.fan@nxp.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3061b466d7c7e3736469018f25e8b7906ebf3cf3",
      "old_mode": 33188,
      "old_path": "drivers/usb/tcpm/tcpm.c",
      "new_id": "d6c0be8233306dbb66f858adf0a66be13016e639",
      "new_mode": 33188,
      "new_path": "drivers/usb/tcpm/tcpm.c"
    }
  ]
}
