* [PATCH] gpu: host1x: mipi: Added missing mutex_unlock
@ 2015-12-06 19:52 Saurabh Sengar
0 siblings, 0 replies; only message in thread
From: Saurabh Sengar @ 2015-12-06 19:52 UTC (permalink / raw)
To: thierry.reding, tbergstrom, dri-devel, linux-tegra, linux-kernel
Cc: Saurabh Sengar
In case of error too function should return after releasing the mutex
Signed-off-by: Saurabh Sengar <saurabh.truth@gmail.com>
---
drivers/gpu/host1x/mipi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/host1x/mipi.c b/drivers/gpu/host1x/mipi.c
index 52a6fd2..6e559a9 100644
--- a/drivers/gpu/host1x/mipi.c
+++ b/drivers/gpu/host1x/mipi.c
@@ -250,6 +250,7 @@ struct tegra_mipi_device *tegra_mipi_request(struct device *device)
dev_err(dev->mipi->dev,
"failed to power up MIPI bricks: %d\n",
err);
+ mutex_unlock(&dev->mipi->lock);
return ERR_PTR(err);
}
}
--
1.9.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-12-06 20:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-06 19:52 [PATCH] gpu: host1x: mipi: Added missing mutex_unlock Saurabh Sengar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®