)]}'
{
  "commit": "7a3783efffc7bc2e702d774e47fad5b8e37e9ad1",
  "tree": "1801a42bf73c4ae674dc149c6669100fdd8e10cc",
  "parents": [
    "02e2c51ba3e80acde600721ea784c3ef84da5ea1"
  ],
  "author": {
    "name": "Paul Zimmerman",
    "email": "Paul.Zimmerman@synopsys.com",
    "time": "Wed Nov 17 16:26:50 2010 -0800"
  },
  "committer": {
    "name": "Sarah Sharp",
    "email": "sarah.a.sharp@linux.intel.com",
    "time": "Fri Nov 19 16:23:07 2010 -0800"
  },
  "message": "xhci: Fix reset-device and configure-endpoint commands\n\nWe have been having problems with the USB-IF Gold Tree tests when plugging\nand unplugging devices from the tree. I have seen that the reset-device\nand configure-endpoint commands, which are invoked from\nxhci_discover_or_reset_device() and xhci_configure_endpoint(), will sometimes\ntime out.\n\nAfter much debugging, I determined that the commands themselves do not actually\ntime out, but rather their completion events do not get delivered to the right\nplace.\n\nThis happens when the command ring has just wrapped around, and it\u0027s enqueue\npointer is left pointing to the link TRB. xhci_discover_or_reset_device() and\nxhci_configure_endpoint() use the enqueue pointer directly as their command\nTRB pointer, without checking whether it\u0027s pointing to the link TRB.\n\nWhen the completion event arrives, if the command TRB is pointing to the link\nTRB, the check against the command ring dequeue pointer in\nhandle_cmd_in_cmd_wait_list() fails, so the completion inside the command does\nnot get signaled.\n\nThe patch below fixes the timeout problem for me.\n\nThis should be queued for the 2.6.35 and 2.6.36 stable trees.\n\nSigned-off-by: Paul Zimmerman \u003cpaulz@synopsys.com\u003e\nSigned-off-by: Sarah Sharp \u003csarah.a.sharp@linux.intel.com\u003e\nCc: stable@kernel.org\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "06fca0835b52cc606d57a467332dec1fee916366",
      "old_mode": 33188,
      "old_path": "drivers/usb/host/xhci.c",
      "new_id": "45e4a3108cc31285fcb41c7a83972a621a72a68b",
      "new_mode": 33188,
      "new_path": "drivers/usb/host/xhci.c"
    }
  ]
}
