drm/omap: check return value from soc_device_match
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 2 May 2018 09:11:56 +0000 (12:11 +0300)
committerSean Paul <seanpaul@chromium.org>
Mon, 7 May 2018 14:19:11 +0000 (10:19 -0400)
commit4d6cb5e2fee52af17001e92950f0894304706ee4
tree68c4247634406d79bcfc71ea944bc87034743be6
parent6a0f0c55619f0b82a677cab72e77c3444a5eee58
drm/omap: check return value from soc_device_match

soc_device_match() can return NULL, so add a check and fail if
soc_device_match() fails.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180502091159.7071-2-tomi.valkeinen@ti.com
Reviewed-by: Benoit Parrot <bparrot@ti.com>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/omapdrm/dss/hdmi4_core.c