]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/exynos: checking for NULL instead of IS_ERR()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 13 Oct 2018 10:21:40 +0000 (13:21 +0300)
committerInki Dae <inki.dae@samsung.com>
Mon, 5 Nov 2018 07:37:24 +0000 (16:37 +0900)
commit8727b230f665cadb9349a915c60e6abb18fb083c
tree01a727bd242a4f57530f050570aac9393bf99e8f
parent651022382c7f8da46cb4872a545ee1da6d097d2a
drm/exynos: checking for NULL instead of IS_ERR()

The of_drm_find_panel() function returns error pointers and never NULL
but we the driver assumes that ->panel is NULL when it's not present.

Fixes: 6afb7721e2a0 ("drm/exynos: move connector creation to attach callback")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_dsi.c