Skip to content
Unverified Commit a21fbc42 authored by Dinghao Liu's avatar Dinghao Liu Committed by Mark Brown
Browse files

spi: spi-zynqmp-gqspi: Fix runtime PM imbalance in zynqmp_qspi_probe



When platform_get_irq() fails, a pairing PM usage counter
increment is needed to keep the counter balanced. It's the
same for the following error paths.

Signed-off-by: default avatarDinghao Liu <dinghao.liu@zju.edu.cn>
Link: https://lore.kernel.org/r/20210408092559.3824-1-dinghao.liu@zju.edu.cn
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5ac1b909
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment