All of lore.kernel.org
 help / color / mirror / Atom feed
* [git:media_tree/master] media: coda: Remove unbalanced and unneeded mutex unlock
@ 2019-05-28 16:22 Mauro Carvalho Chehab
  0 siblings, 0 replies; only message in thread
From: Mauro Carvalho Chehab @ 2019-05-28 16:22 UTC (permalink / raw)
  To: linuxtv-commits; +Cc: Hans Verkuil, Philipp Zabel, Ezequiel Garcia, stable

This is an automatic generated email to let you know that the following patch were queued:

Subject: media: coda: Remove unbalanced and unneeded mutex unlock
Author:  Ezequiel Garcia <ezequiel@collabora.com>
Date:    Thu May 2 18:00:43 2019 -0400

The mutex unlock in the threaded interrupt handler is not paired
with any mutex lock. Remove it.

This bug has been here for a really long time, so it applies
to any stable repo.

Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

 drivers/media/platform/coda/coda-bit.c | 1 -
 1 file changed, 1 deletion(-)

---

diff --git a/drivers/media/platform/coda/coda-bit.c b/drivers/media/platform/coda/coda-bit.c
index a25f3742ecde..19055c6488cc 100644
--- a/drivers/media/platform/coda/coda-bit.c
+++ b/drivers/media/platform/coda/coda-bit.c
@@ -2348,7 +2348,6 @@ irqreturn_t coda_irq_handler(int irq, void *data)
 	if (ctx == NULL) {
 		v4l2_err(&dev->v4l2_dev,
 			 "Instance released before the end of transaction\n");
-		mutex_unlock(&dev->coda_mutex);
 		return IRQ_HANDLED;
 	}
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-28 17:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28 16:22 [git:media_tree/master] media: coda: Remove unbalanced and unneeded mutex unlock Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.