driver core: Fixes related to device links
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 23 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | PM-runtime: Fix __pm_runtime_set_status() race with runtime resumedrivers/ | +18 | 5 replies | |
| 2/2 | driver core: Fix possible supplier PM-usage counter imbalancedrivers/ drivers/ include/ | +33 | 13 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Ulf Hansson |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] driver core: Fixes related to device links
Hi Greg at al,
These fix two issues on top of the recent device links material in driver-core/driver-core-next.
The first one fixes a race condition that may trigger when __pm_runtime_set_status() is used incorrectly (that is, when it is called with PM-runtime enabled for the target device and working).
The second one fixes a supplier PM-runtime usage counter imbalance resulting from adding and removing (e.g. in the error code path) a stateless device link to it from within the consumer driver's probe callback.
Please refer to the patch changelogs for details.
Cheers,
Rafael