aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xarray.c
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2021-03-26 10:56:18 +0000
committerRafael J. Wysocki <[email protected]>2021-03-29 17:27:09 +0000
commitc0c33442f7203704aef345647e14c2fb86071001 (patch)
tree3fbaa2ded7c272a6869b18bf2ffd87d638a328db /lib/xarray.c
parentLinux 5.12-rc5 (diff)
downloadkernel-c0c33442f7203704aef345647e14c2fb86071001.tar.gz
kernel-c0c33442f7203704aef345647e14c2fb86071001.zip
PM: runtime: Fix ordering in pm_runtime_get_suppliers()
rpm_active indicates how many times the supplier usage_count has been incremented. Consequently it must be updated after pm_runtime_get_sync() of the supplier, not before. Fixes: 4c06c4e6cf63 ("driver core: Fix possible supplier PM-usage counter imbalance") Signed-off-by: Adrian Hunter <[email protected]> Cc: 5.1+ <[email protected]> # 5.1+ Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions