Commit 163fe744c3283fd267268629afff4cfc846ed0e0 added a double
mutex_lock which hangs ov51x_probe(). This was clearly a typo.

Change final mutex_lock() -> mutex_unlock()

Signed-off-by: Brandon Philips <bphil...@suse.de>
---
 drivers/media/video/ov511.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/media/video/ov511.c b/drivers/media/video/ov511.c
index 0bc2cf5..2bed9e2 100644
--- a/drivers/media/video/ov511.c
+++ b/drivers/media/video/ov511.c
@@ -5878,7 +5878,7 @@ ov51x_probe(struct usb_interface *intf, const struct 
usb_device_id *id)
                goto error;
        }
 
-       mutex_lock(&ov->lock);
+       mutex_unlock(&ov->lock);
 
        return 0;
 
-- 
1.6.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to