)]}'
{
  "commit": "ce989e33e6eb492c3314934d0dd49a536e453ef2",
  "tree": "ac4b2f9ebd922c637d043a16ef2662ecb1b77d2b",
  "parents": [
    "98fd9c3e65736e5f7a87bd8e7a63e312788b8fca"
  ],
  "author": {
    "name": "Flavio Ceolin",
    "email": "flavio.ceolin@intel.com",
    "time": "Fri May 14 16:50:23 2021 -0700"
  },
  "committer": {
    "name": "Anas Nashif",
    "email": "anas.nashif@intel.com",
    "time": "Wed May 26 10:56:55 2021 -0400"
  },
  "message": "pm: device_runtime: Fix atomic usage\n\nProtect critical sessions using the spinlock available. The atomic\nusage was not properly protecting the critical section and was\npossible to have a race condition between the usage check and state\nset.\n\nSigned-off-by: Flavio Ceolin \u003cflavio.ceolin@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e23c0c9941e0ceb3c9500bc200f5cf7cde7660c3",
      "old_mode": 33188,
      "old_path": "include/pm/device.h",
      "new_id": "cf0d0e6e3913a5b9102e839463412ae7e728d936",
      "new_mode": 33188,
      "new_path": "include/pm/device.h"
    },
    {
      "type": "modify",
      "old_id": "c3a1f643b5baea3951335af9790345f20396fcd9",
      "old_mode": 33188,
      "old_path": "subsys/pm/device_runtime.c",
      "new_id": "04146f451db093e2300b42f30b26bea69fd51901",
      "new_mode": 33188,
      "new_path": "subsys/pm/device_runtime.c"
    }
  ]
}
