Commit dffc8cb1 authored by Dinghao Liu's avatar Dinghao Liu Committed by sanglipeng
Browse files

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

stable inclusion
from stable-v5.10.198
commit 2cdec9c13f81313dd9f41f09c7cdecbfa4bea91d
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I987V5

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2cdec9c13f81313dd9f41f09c7cdecbfa4bea91d



--------------------------------

[ Upstream commit a21fbc42 ]

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>
Stable-dep-of: 1527b076 ("spi: zynqmp-gqspi: fix clock imbalance on probe failure")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent d7f9dc98
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment