diff options
author | Soumen Kumar Dey <sdey@nvidia.com> | 2016-09-15 09:23:29 +0530 |
---|---|---|
committer | Matthew Pedro <mapedro@nvidia.com> | 2016-09-15 10:27:22 -0700 |
commit | 60f51c7e8069154598533f9f3c5c2e6b3991cfe3 (patch) | |
tree | 4cf23fad465fa8da14f59dcbe957141b990871b1 | |
parent | ff94d4ba6858af3861eb902c5677aed0acfc01fe (diff) |
nvavp: Add missing mutex unlock
Add missing mutex unlock for nvavp_submit.
bug 1775299
Change-Id: I1b525e192bfd9dd19bcd0211484400445eda7b2b
Signed-off-by: Soumen Kumar Dey <sdey@nvidia.com>
Reviewed-on: http://git-master/r/1221210
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
-rw-r--r-- | drivers/media/platform/tegra/nvavp/nvavp_dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/tegra/nvavp/nvavp_dev.c b/drivers/media/platform/tegra/nvavp/nvavp_dev.c index cc98f192d086..f2cb6a593dd2 100644 --- a/drivers/media/platform/tegra/nvavp/nvavp_dev.c +++ b/drivers/media/platform/tegra/nvavp/nvavp_dev.c @@ -1540,6 +1540,7 @@ static int nvavp_pushbuffer_submit_ioctl(struct file *filp, unsigned int cmd, if (hdr.num_relocs > NVAVP_MAX_RELOCATION_COUNT) { dev_err(&nvavp->nvhost_dev->dev, "invalid num_relocs %d\n", hdr.num_relocs); + mutex_unlock(&nvavp->submit_lock); return -EINVAL; } |