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:
4f93eed
)
drm/exynos: mic: fix an error code
author
Dan Carpenter
<dan.carpenter@oracle.com>
Thu, 17 Mar 2016 10:32:15 +0000
(13:32 +0300)
committer
Inki Dae
<daeinki@gmail.com>
Fri, 29 Apr 2016 16:03:46 +0000
(
01:03
+0900)
We accidentally return success instead of a negative error code here.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_mic.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_mic.c
b/drivers/gpu/drm/exynos/exynos_drm_mic.c
index 9869d70e9e54af32abb775dc0e17f0c1da83999b..890c9b1c02396f0278ca8c9a69c7fb3a44e91bf4 100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_mic.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_mic.c
@@
-457,6
+457,7
@@
static int exynos_mic_probe(struct platform_device *pdev)
"samsung,disp-syscon");
if (IS_ERR(mic->sysreg)) {
DRM_ERROR("mic: Failed to get system register.\n");
+ ret = PTR_ERR(mic->sysreg);
goto err;
}