[PATCH][OMAPZOOM]OMAP3ISP: Remove double mutex unlock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Sergio Aguirre <saaguirre@xxxxxx>

OMAP3ISP: Remove double mutex unlock

This patch removes a double mutex_unlock possibility on errors in
vidioc_default.

Signed-off-by: Sergio Aguirre <saaguirre@xxxxxx>
---
 drivers/media/video/omap34xxcam.c |    1 -
 1 file changed, 1 deletion(-)

Index: omapkernel-android/drivers/media/video/omap34xxcam.c
===================================================================
--- omapkernel-android.orig/drivers/media/video/omap34xxcam.c
+++ omapkernel-android/drivers/media/video/omap34xxcam.c
@@ -1201,7 +1201,6 @@ static int vidioc_default(struct file *f
 		rval = isp_handle_private(cmd, arg);
 	}
 out:
-	mutex_unlock(&vdev->mutex);
 	return rval;
 }
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux