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:
5230301
)
drm/tegra: sor - missing unlock on error
author
Dan Carpenter
<dan.carpenter@oracle.com>
Wed, 11 Jun 2014 07:06:09 +0000
(10:06 +0300)
committer
Thierry Reding
<treding@nvidia.com>
Mon, 4 Aug 2014 08:07:33 +0000
(10:07 +0200)
We should unlock before returning the error code.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/tegra/sor.c
b/drivers/gpu/drm/tegra/sor.c
index 27c979b5011112182226f7a1cd4d0e1e6b54c9ed..64f57fa9b8f69c2e965aebb6e7c56f76dc00e1c2 100644
(file)
--- a/
drivers/gpu/drm/tegra/sor.c
+++ b/
drivers/gpu/drm/tegra/sor.c
@@
-516,7
+516,7
@@
static int tegra_output_sor_enable(struct tegra_output *output)
if (err < 0) {
dev_err(sor->dev, "failed to probe eDP link: %d\n",
err);
-
return err
;
+
goto unlock
;
}
}