[patch] drm/tegra: checking for IS_ERR() instead of NULL

2015-12-14 Thread Thierry Reding
On Mon, Aug 17, 2015 at 05:37:03PM +0300, Dan Carpenter wrote: > The tegra_sor_hdmi_find_settings() function returns NULL on error and > not an ERR_PTR. > > Fixes: 459cc2c6800b ('drm/tegra: sor: Add HDMI support') > Signed-off-by: Dan Carpenter Sorry, this fell through the cracks. Applied now,

[patch] drm/tegra: checking for IS_ERR() instead of NULL

2015-08-17 Thread Dan Carpenter
The tegra_sor_hdmi_find_settings() function returns NULL on error and not an ERR_PTR. Fixes: 459cc2c6800b ('drm/tegra: sor: Add HDMI support') Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c index da1715e..08c5461 100644 ---