diff options
author | Boris Brezillon <boris.brezillon@collabora.com> | 2025-04-14 15:01:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-06-19 15:39:30 +0200 |
commit | abc7c588c68bc528132910636707c92c80bfbc6a (patch) | |
tree | 5449fbdeafb07087896d87f4e4acbb22f78c9509 /drivers/firmware/psci/psci.c | |
parent | 582a04abbd3061331e25c36facc10b5908352ec8 (diff) |
drm/panthor: Fix the panthor_gpu_coherency_init() error path
[ Upstream commit 938aaed555f3add76531cd204e2d4128ecb84ace ]
The panthor_gpu_coherency_init() call has been moved around, but the
error path hasn't been adjusted accordingly. Make sure we undo what
has been done before this call in case of failure.
Fixes: 7d5a3b22f5b5 ("drm/panthor: Call panthor_gpu_coherency_init() after PM resume()")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/dri-devel/4da470aa-4f84-460e-aff8-dabc8cc4da15@stanley.mountain/T/#t
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://lore.kernel.org/r/20250414130120.581274-1-boris.brezillon@collabora.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions