drm/omap: drm_atomic_get_plane_state() may return ERR_PTR
authorJyri Sarha <jsarha@ti.com>
Wed, 28 Oct 2015 12:00:42 +0000 (14:00 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 3 Mar 2016 15:36:41 +0000 (17:36 +0200)
commita7696ea7402fc8140f2023821e60adcf406679fe
treee885d89e08677b0c5dbd86b51913c1ac046a3706
parent8e54adfd9ccda87bb3d1c7e164029c8ebfa2c255
drm/omap: drm_atomic_get_plane_state() may return ERR_PTR

drm_atomic_get_plane_state() may return ERR_PTR. Handle
drm_atomic_get_plane_state() return values right in
omap_crtc_atomic_set_property().

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/omap_crtc.c