projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecf81ed
)
drm/exynos: Fix error value in exynos_drm_crtc_get_by_type()
author
Marek Szyprowski
<
[email protected]
>
Tue, 12 Dec 2017 12:01:15 +0000
(13:01 +0100)
committer
Inki Dae
<
[email protected]
>
Thu, 24 May 2018 07:47:39 +0000
(16:47 +0900)
EPERM is not the correct error value when the driver is not able to get
its resources. Change it to ENODEV.
Reported-by: Russell King - ARM Linux <
[email protected]
>
Signed-off-by: Marek Szyprowski <
[email protected]
>
Signed-off-by: Inki Dae <
[email protected]
>
drivers/gpu/drm/exynos/exynos_drm_crtc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_crtc.c
b/drivers/gpu/drm/exynos/exynos_drm_crtc.c
index dc01342e759a0f4e1a5f7ea32d7ace8609386243..eea90251808fa2e58398fdcb1cac01d160307320 100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_crtc.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_crtc.c
@@
-228,7
+228,7
@@
struct exynos_drm_crtc *exynos_drm_crtc_get_by_type(struct drm_device *drm_dev,
if (to_exynos_crtc(crtc)->type == out_type)
return to_exynos_crtc(crtc);
- return ERR_PTR(-E
PERM
);
+ return ERR_PTR(-E
NODEV
);
}
int exynos_drm_set_possible_crtcs(struct drm_encoder *encoder,