projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
082ca31
)
drm/exynos: dsi: modify a error type when getting a node failed
author
Inki Dae
<inki.dae@samsung.com>
Thu, 3 Dec 2015 05:35:23 +0000
(14:35 +0900)
committer
Inki Dae
<daeinki@gmail.com>
Sun, 13 Dec 2015 13:22:48 +0000
(22:22 +0900)
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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_dsi.c
b/drivers/gpu/drm/exynos/exynos_drm_dsi.c
index 7c3606af0e0a50f80a238ab0c7dc2b9b95edebea..a24bf8b17d8ebf1c29f1d4d752e838dba3b89833 100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_dsi.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_dsi.c
@@
-1735,13
+1735,13
@@
static int exynos_dsi_parse_dt(struct exynos_dsi *dsi)
ep = of_graph_get_next_endpoint(node, NULL);
if (!ep) {
- ret = -E
NXIO
;
+ ret = -E
INVAL
;
goto end;
}
dsi->bridge_node = of_graph_get_remote_port_parent(ep);
if (!dsi->bridge_node) {
- ret = -E
NXIO
;
+ ret = -E
INVAL
;
goto end;
}
end: