Loading
drm/plane: Fix IS_ERR() vs NULL bug drm_plane_create_color_pipeline_property()
The drm_property_create_enum() function returns NULL on error, it never returns error pointers. Fix the error checking to match. Fixes: 2afc3184 ("drm/plane: Add COLOR PIPELINE property") Signed-off-by:Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by:
Simon Ser <contact@emersion.fr> Link: https://patch.msgid.link/aTK9ZR0sMgqSACow@stanley.mountain