diff options
author | Rafael J. Wysocki <[email protected]> | 2020-10-21 21:12:15 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2020-11-02 18:14:07 +0100 |
commit | e0e398e204634db8fb71bd89cf2f6e3e5bd09b51 (patch) | |
tree | 249a53f4da79da8a867bcbf33f71df644e9e72c1 /tools | |
parent | 3cea11cd5e3b00d91caf0b4730194039b45c5891 (diff) |
PM: runtime: Drop runtime PM references to supplier on link removal
While removing a device link, drop the supplier device's runtime PM
usage counter as many times as needed to drop all of the runtime PM
references to it from the consumer in addition to dropping the
consumer's link count.
Fixes: baa8809f6097 ("PM / runtime: Optimize the use of device links")
Signed-off-by: Rafael J. Wysocki <[email protected]>
Cc: 5.1+ <[email protected]> # 5.1+
Tested-by: Xiang Chen <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions