)]}'
{
  "commit": "9e5f97bb07a4048d388d81e8c26b2e6d15973bf3",
  "tree": "f9be658d03f1f1bedd7955f2e5024a4f998ff72e",
  "parents": [
    "5077a93421ec087d51b6666bcbbaf51b7c2c05b6"
  ],
  "author": {
    "name": "Sarah Sharp",
    "email": "sarah.a.sharp@linux.intel.com",
    "time": "Mon Sep 30 17:26:29 2013 +0300"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Mon Apr 14 06:44:27 2014 -0700"
  },
  "message": "usb: Disable USB 2.0 Link PM before device reset.\n\ncommit dcc01c0864823f91c3bf3ffca6613e2351702b87 upstream.\n\nBefore the USB core resets a device, we need to disable the L1 timeout\nfor the roothub, if USB 2.0 Link PM is enabled.  Otherwise the port may\ntransition into L1 in between descriptor fetches, before we know if the\nUSB device descriptors changed.  LPM will be re-enabled after the\nfull device descriptors are fetched, and we can confirm the device still\nsupports USB 2.0 LPM after the reset.\n\nWe don\u0027t need to wait for the USB device to exit L1 before resetting the\ndevice, since the xHCI roothub port diagrams show a transition to the\nReset state from any of the Ux states (see Figure 34 in the 2012-08-14\nxHCI specification update).\n\nThis patch should be backported to kernels as old as 3.2, that contain\nthe commit 65580b4321eb36f16ae8b5987bfa1bb948fc5112 \"xHCI: set USB2\nhardware LPM\".  That was the first commit to enable USB 2.0\nhardware-driven Link Power Management.\n\nSigned-off-by: Sarah Sharp \u003csarah.a.sharp@linux.intel.com\u003e\n[bwh: Backported to 3.2: adjust context]\nSigned-off-by: Ben Hutchings \u003cben@decadent.org.uk\u003e\nCc: Yang Yingliang \u003cyangyingliang@huawei.com\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0d5a61109aae08928a9cbda929578ccf23598416",
      "old_mode": 33188,
      "old_path": "drivers/usb/core/hub.c",
      "new_id": "1dba182df460252c78f9a33a94dddcbcf9a48738",
      "new_mode": 33188,
      "new_path": "drivers/usb/core/hub.c"
    }
  ]
}
