summaryrefslogtreecommitdiffstats
path: root/drivers/eisa
diff options
context:
space:
mode:
authorZhang Qilong <zhangqilong3@huawei.com>2020-11-23 11:18:27 +0100
committerSebastian Reichel <sre@kernel.org>2020-12-29 23:57:06 +0100
commitaa57e77b3d28f0df07149d88c47bc0f3aa77330b (patch)
treeff5c576bff59904d8776236d95fe267e35e82144 /drivers/eisa
parentLinux 5.11-rc1 (diff)
downloadlinux-aa57e77b3d28f0df07149d88c47bc0f3aa77330b.tar.xz
linux-aa57e77b3d28f0df07149d88c47bc0f3aa77330b.zip
HSI: Fix PM usage counter unbalance in ssi_hw_init
pm_runtime_get_sync will increment pm usage counter even it failed. Forgetting to putting operation will result in reference leak here. We fix it by replacing it with pm_runtime_resume_and_get to keep usage counter balanced. Fixes: b209e047bc743 ("HSI: Introduce OMAP SSI driver") Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/eisa')
0 files changed, 0 insertions, 0 deletions