)]}'
{
  "commit": "a0504aecba76baa1cddbc23512eb8be14df74cef",
  "tree": "e77b3dd0c67e21445e6cf94ee6cd2899451772cf",
  "parents": [
    "1e8378619841ef1d621b130bbd3fc3b7e6739b50"
  ],
  "author": {
    "name": "Ulf Hansson",
    "email": "ulf.hansson@linaro.org",
    "time": "Thu May 24 10:33:36 2018 +0200"
  },
  "committer": {
    "name": "Rafael J. Wysocki",
    "email": "rafael.j.wysocki@intel.com",
    "time": "Sun May 27 12:18:55 2018 +0200"
  },
  "message": "PM / runtime: Drop usage count for suppliers at device link removal\n\nIn the case consumer device is runtime resumed, while the link to the\nsupplier is removed, the earlier call to pm_runtime_get_sync() made from\nrpm_get_suppliers() does not get properly balanced with a corresponding\ncall to pm_runtime_put(). This leads to that suppliers remains to be\nruntime resumed forever, while they don\u0027t need to.\n\nLet\u0027s fix the behaviour by calling rpm_put_suppliers() when dropping a\ndevice link. Not that, since rpm_put_suppliers() checks the\nlink-\u003erpm_active flag, we can correctly avoid to call pm_runtime_put() in\ncases when we shouldn\u0027t.\n\nReported-by: Todor Tomov \u003ctodor.tomov@linaro.org\u003e\nFixes: 21d5c57b3726 (PM / runtime: Use device links)\nSigned-off-by: Ulf Hansson \u003culf.hansson@linaro.org\u003e\nSigned-off-by: Rafael J. Wysocki \u003crafael.j.wysocki@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6f4f50e196c163d19fac895fb626e11a319b6755",
      "old_mode": 33188,
      "old_path": "drivers/base/power/runtime.c",
      "new_id": "c6030f100c087fc5edb4ca216f35b4945692f69e",
      "new_mode": 33188,
      "new_path": "drivers/base/power/runtime.c"
    }
  ]
}
