diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-06-11 10:06:09 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-08-04 10:07:33 +0200 |
commit | 2263c460bed14f36c9a87d97242c35cf1346f61e (patch) | |
tree | 50cfa64bb790deb012b6fb347d8a94c0c1444962 /drivers/gpu/drm/tegra/sor.c | |
parent | 52303019e676e889938462aafb55d00bec5d7196 (diff) | |
download | linux-2263c460bed14f36c9a87d97242c35cf1346f61e.tar.bz2 |
drm/tegra: sor - missing unlock on error
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>
Diffstat (limited to 'drivers/gpu/drm/tegra/sor.c')
-rw-r--r-- | drivers/gpu/drm/tegra/sor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c index 27c979b50111..64f57fa9b8f6 100644 --- 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; } } |