)]}'
{
  "commit": "a5f76d5eba157bf637beb2dd18026db2917c512e",
  "tree": "0f23e14459b8324e965c6a82d8b74dde1b4018e4",
  "parents": [
    "ca9c6890b598997165a7c85c001f382c910f12b0"
  ],
  "author": {
    "name": "Rafael J. Wysocki",
    "email": "rjw@sisk.pl",
    "time": "Tue Jun 21 23:47:15 2011 +0200"
  },
  "committer": {
    "name": "Rafael J. Wysocki",
    "email": "rjw@sisk.pl",
    "time": "Tue Jun 21 23:47:15 2011 +0200"
  },
  "message": "PCI / PM: Block races between runtime PM and system sleep\n\nAfter commit e8665002477f0278f84f898145b1f141ba26ee26\n(PM: Allow pm_runtime_suspend() to succeed during system suspend) it\nis possible that a device resumed by the pm_runtime_resume(dev) in\npci_pm_prepare() will be suspended immediately from a work item,\ntimer function or otherwise, defeating the very purpose of calling\npm_runtime_resume(dev) from there.  To prevent that from happening\nit is necessary to increment the runtime PM usage counter of the\ndevice by replacing pm_runtime_resume() with pm_runtime_get_sync().\nMoreover, the incremented runtime PM usage counter has to be\ndecremented by the corresponding pci_pm_complete(), via\npm_runtime_put_sync().\n\nSigned-off-by: Rafael J. Wysocki \u003crjw@sisk.pl\u003e\nCc: stable@kernel.org\nAcked-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "135df164a4c1e897e4d36a7d5a49336518669480",
      "old_mode": 33188,
      "old_path": "drivers/pci/pci-driver.c",
      "new_id": "46767c53917a5e28ee8fcec10d92de6c39609eba",
      "new_mode": 33188,
      "new_path": "drivers/pci/pci-driver.c"
    }
  ]
}
