android_kernel_sony_sdm845/drivers/gpu/drm/tegra
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christophe Jaillet a63bb198dc drm/tegra: dpaux: Fix error handling
commit 9376cad2073d2c122864754ea5f80025c8507b0b upstream.

The devm_pinctrl_register() function returns an error pointer or a valid
handle. So checking for NULL here is pointless and can never trigger.

Check the returned value with IS_ERR instead and propagate this value as
done in the other functions which call devm_pinctrl_register().

Fixes: 0751bb5c44 ("drm/tegra: dpaux: Add pinctrl support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-19 20:17:58 +01:00
..
dc.c drm/tegra: Changes for v4.9-rc1 2016-09-30 13:00:36 +10:00
dc.h
dpaux.c drm/tegra: dpaux: Fix error handling 2017-01-19 20:17:58 +01:00
dpaux.h
drm.c drm: Don't swallow error codes in drm_dev_alloc() 2016-09-22 04:03:48 -07:00
drm.h
dsi.c
dsi.h
fb.c
gem.c drm/prime: Take a ref on the drm_dev when exporting a dma_buf 2016-10-05 15:30:32 +02:00
gem.h
gr2d.c
gr2d.h
gr3d.c
gr3d.h
hdmi.c
hdmi.h
Kconfig
Makefile
mipi-phy.c
mipi-phy.h
output.c
rgb.c
sor.c
sor.h