Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1284906
| From | Saurabh Sengar <saurabh.truth@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] gpu: host1x: mipi: Added missing mutex_unlock |
| Date | 2015-12-06 21:10 +0100 |
| Message-ID | <qCNN8-38D-13@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] gpu: host1x: mipi: Added missing mutex_unlock Saurabh Sengar <saurabh.truth@gmail.com> - 2015-12-06 21:10 +0100
csiph-web