diff options
author | Christoph Hellwig <hch@lst.de> | 2021-04-09 11:46:12 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-04-21 19:13:16 +0200 |
commit | 53fe2a30bc168db9700e00206d991ff934973cf1 (patch) | |
tree | bf6faf3e9abf3a2ee8275a5a265f02583dd22cea /scripts/ld-version.sh | |
parent | 74c22990f08c9f922f775939a4ebc814ca2c49eb (diff) | |
download | linux-53fe2a30bc168db9700e00206d991ff934973cf1.tar.gz linux-53fe2a30bc168db9700e00206d991ff934973cf1.tar.bz2 linux-53fe2a30bc168db9700e00206d991ff934973cf1.zip |
nvme: do not try to reconfigure APST when the controller is not live
Do not call nvme_configure_apst when the controller is not live, given
that nvme_configure_apst will fail due the lack of an admin queue when
the controller is being torn down and nvme_set_latency_tolerance is
called from dev_pm_qos_hide_latency_tolerance.
Fixes: 510a405d945b("nvme: fix memory leak for power latency tolerance")
Reported-by: Peng Liu <liupeng17@lenovo.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/ld-version.sh')
0 files changed, 0 insertions, 0 deletions