Files
linux/drivers
Pavel Machek (CIP) e4c3f7a6a3 drm/tegra: sor: Do not leak runtime PM reference
[ Upstream commit 73a395c467 ]

It's theoretically possible for the runtime PM reference to leak if the
code fails anywhere between the pm_runtime_resume_and_get() and
pm_runtime_put() calls, so make sure to release the runtime PM reference
in that case.

Practically this will never happen because none of the functions will
fail on Tegra, but it's better for the code to be pedantic in case these
assumptions will ever become wrong.

Signed-off-by: Pavel Machek (CIP) <pavel@denx.de>
[treding@nvidia.com: add commit message]
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-18 09:58:58 +02:00
..
2021-05-14 09:44:24 +02:00
2020-12-30 11:51:26 +01:00
2021-04-07 14:47:39 +02:00