diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-10-21 21:12:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-10 12:37:34 +0100 |
commit | 874dfb5c6aa3001b8528eb5b0ac57cdabc6a41e8 (patch) | |
tree | 82d72cb6f55b19d873eae4d3eb4244627ce42a28 /scripts/kconfig | |
parent | fbfca92c7840db5f4a980b111789ab0a7af745ef (diff) |
PM: runtime: Drop runtime PM references to supplier on link removal
commit e0e398e204634db8fb71bd89cf2f6e3e5bd09b51 upstream.
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 <rafael.j.wysocki@intel.com>
Cc: 5.1+ <stable@vger.kernel.org> # 5.1+
Tested-by: Xiang Chen <chenxiang66@hisilicon.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/kconfig')
0 files changed, 0 insertions, 0 deletions