)]}'
{
  "commit": "1bfee5bc86fdaecc912e06080583eddab7263df2",
  "tree": "1f1b0f5ff1b9b7a5eed1ccd62de1d8ffb37f2ea3",
  "parents": [
    "3f9af0513ae5b1f185302c2d0ba656640926d970"
  ],
  "author": {
    "name": "Alan Stern",
    "email": "stern@rowland.harvard.edu",
    "time": "Sat Sep 25 23:35:00 2010 +0200"
  },
  "committer": {
    "name": "Rafael J. Wysocki",
    "email": "rjw@sisk.pl",
    "time": "Sun Oct 17 01:57:46 2010 +0200"
  },
  "message": "PM / Runtime: Merge synchronous and async runtime routines\n\nThis patch (as1423) merges the asynchronous routines\n__pm_request_idle(), __pm_request_suspend(), and __pm_request_resume()\nwith their synchronous counterparts.  The RPM_ASYNC bitflag argument\nserves to indicate what sort of operation to perform.\n\nIn the course of performing this merger, it became apparent that the\nvarious functions don\u0027t all behave consistenly with regard to error\nreporting and cancellation of outstanding requests.  A new routine,\nrpm_check_suspend_allowed(), was written to centralize much of the\ntesting, and the other functions were revised to follow a simple\nalgorithm:\n\n\tIf the operation is disallowed because of the device\u0027s\n\tsettings or current state, return an error.\n\n\tCancel pending or scheduled requests of lower priority.\n\n\tSchedule, queue, or perform the desired operation.\n\nA few special cases and exceptions are noted in comments.\n\nSigned-off-by: Alan Stern \u003cstern@rowland.harvard.edu\u003e\nSigned-off-by: Rafael J. Wysocki \u003crjw@sisk.pl\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0c1db879544bdf218a01aca8b0d9fa4390e5764d",
      "old_mode": 33188,
      "old_path": "drivers/base/power/runtime.c",
      "new_id": "d7b5d84c235c4efc01cbf5e5166d9c2be8932f59",
      "new_mode": 33188,
      "new_path": "drivers/base/power/runtime.c"
    }
  ]
}
