diff options
author | 2021-04-15 15:46:44 +0800 | |
---|---|---|
committer | 2021-04-15 16:07:59 +0100 | |
commit | 58eaa7b2d07d3c25e1068b0bf42ca7e7464f4bca (patch) | |
tree | 021b5df6c350dd2a8e9acd81b4e58e70cda46d39 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | spi: s3c64xx: constify driver/match data (diff) | |
download | wireguard-linux-58eaa7b2d07d3c25e1068b0bf42ca7e7464f4bca.tar.xz wireguard-linux-58eaa7b2d07d3c25e1068b0bf42ca7e7464f4bca.zip |
spi: spi-zynqmp-gqspi: Fix runtime PM imbalance in zynqmp_qspi_probe
There is a PM usage counter decrement after zynqmp_qspi_init_hw()
without any refcount increment, which leads to refcount leak.Add
a refcount increment to balance the refcount. Also set
auto_runtime_pm to resume suspended spi controller.
Fixes: 9e3a000362aec ("spi: zynqmp: Add pm runtime support")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Tested-by: Quanyang Wang <quanyang.wang@windriver.com>
Link: https://lore.kernel.org/r/20210415074644.24646-1-dinghao.liu@zju.edu.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions