mirror-linux/drivers/gpu/drm/tegra
Dan Carpenter a85df8c7b5 drm/tegra: Fix NULL vs IS_ERR() check in probe()
The iommu_paging_domain_alloc() function doesn't  return NULL pointers,
it returns error pointers.  Update the check to match.

Fixes: 45c690aea8 ("drm/tegra: Use iommu_paging_domain_alloc()")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/ba31cf3a-af3d-4ff1-87a8-f05aaf8c780b@stanley.mountain
2024-10-24 18:50:04 +02:00
..
Kconfig drm/bridge-connector: move to DRM_DISPLAY_HELPER module 2024-09-03 10:18:31 +02:00
Makefile
dc.c
dc.h
dp.c
dp.h
dpaux.c drm/tegra: dpaux: Fix PM disable depth imbalance in tegra_dpaux_probe 2023-12-14 18:27:11 +01:00
dpaux.h
drm.c drm/tegra: Fix NULL vs IS_ERR() check in probe() 2024-10-24 18:50:04 +02:00
drm.h drm/tegra: convert to struct drm_edid 2024-08-29 14:30:14 +03:00
dsi.c drm/tegra: dsi: Fix missing pm_runtime_disable() in the error handling path of tegra_dsi_probe() 2023-12-14 18:39:10 +01:00
dsi.h
falcon.c
falcon.h
fb.c drm/tegra: put drm_gem_object ref on error in tegra_fb_create 2024-02-22 18:29:22 +01:00
fbdev.c
firewall.c
gem.c
gem.h
gr2d.c
gr2d.h
gr3d.c Revert "drm/tegra: gr3d: Convert into dev_pm_domain_attach|detach_list()" 2024-10-10 13:54:50 +02:00
gr3d.h
hda.c
hda.h
hdmi.c ASoC: hdmi-codec: drop drm/drm_edid.h include 2024-01-16 16:07:28 +02:00
hdmi.h
hub.c drm/tegra: hub: Use fn parameter directly to fix Coccinelle warning 2024-08-28 17:28:48 +02:00
hub.h
mipi-phy.c
mipi-phy.h
nvdec.c
output.c drm/tegra: fix potential uninitialized variable use 2024-09-05 12:40:18 +02:00
plane.c
plane.h
rgb.c drm/tegra: rgb: Fix missing clk_put() in the error handling paths of tegra_dc_rgb_probe() 2023-12-14 18:39:10 +01:00
riscv.c
riscv.h
sor.c
sor.h
submit.c
submit.h
trace.c
trace.h
uapi.c
uapi.h
vic.c
vic.h