diff options
author | Lukas Wunner <lukas@wunner.de> | 2018-02-10 19:13:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-22 15:39:59 +0100 |
commit | 6804856af9a8939e929577d2a21f0e570f3e6a44 (patch) | |
tree | 348f28cec8c7eafaaebe927e8e6a970a7f496023 /include | |
parent | 8453b536660f6424c5e6663bde96acc5652447ca (diff) |
PM / runtime: Update links_count also if !CONFIG_SRCU
commit 433986c2c265d106d6a8e88006e0131fefc92b7b upstream.
Commit baa8809f6097 (PM / runtime: Optimize the use of device links)
added an invocation of pm_runtime_drop_link() to __device_link_del().
However there are two variants of that function, one for CONFIG_SRCU and
another for !CONFIG_SRCU, and the commit only modified the former.
Fixes: baa8809f6097 (PM / runtime: Optimize the use of device links)
Cc: v4.10+ <stable@vger.kernel.org> # v4.10+
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions