drm/exynos: dsi: modify a error type when getting a node failed
authorInki Dae <inki.dae@samsung.com>
Thu, 3 Dec 2015 05:35:23 +0000 (14:35 +0900)
committerInki Dae <daeinki@gmail.com>
Sun, 13 Dec 2015 13:22:48 +0000 (22:22 +0900)
commit1b256fa4cd2fc48fabff305dadc577938a49641c
treeaa5548ab7ea654a60b5b3d5b495de8f94d490870
parent082ca313ca1a86131371cebb4e68656a00f2ef1b
drm/exynos: dsi: modify a error type when getting a node failed

This patch makes it to return -EINVAL instead of -ENXIO
when getting a port or remote node failed.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
drivers/gpu/drm/exynos/exynos_drm_dsi.c