Commit 48df5835 authored by Mikko Perttunen's avatar Mikko Perttunen Committed by Greg Kroah-Hartman
Browse files

UPSTREAM: drm/tegra: nvdec: Fix dma_alloc_coherent error check



[ Upstream commit 44306a68 ]

Check for NULL return value with dma_alloc_coherent, in line with
Robin's fix for vic.c in 'drm/tegra: vic: Fix DMA API misuse'.

Fixes: 46f226c9 ("drm/tegra: Add NVDEC driver")
Change-Id: I3d80878c8b2110d6bc19c9cf8f21f811c1ca6485
Signed-off-by: default avatarMikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20250702-nvdec-dma-error-check-v1-1-c388b402c53a@nvidia.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
(cherry picked from commit a560de52)
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 4002950c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment