Linux Media Controller development
 help / color / mirror / Atom feed
* [patch] ov511.c typo:  lock => unlock
@ 2009-11-29 16:42 Dan Carpenter
  0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2009-11-29 16:42 UTC (permalink / raw)
  To: linux-media; +Cc: mmcclell, mchehab

This was found with a static checker and has not been tested, but it seems                                                 
pretty clear that the mutex_lock() was supposed to be mutex_unlock()                                                       

This is a 2.6.32 candidate.                                                                                                

Signed-off-by: Dan Carpenter <error27@gmail.com>

--- orig/drivers/media/video/ov511.c	2009-11-29 14:44:46.000000000 +0200
+++ devel/drivers/media/video/ov511.c	2009-11-29 14:44:57.000000000 +0200
@@ -5878,7 +5878,7 @@ ov51x_probe(struct usb_interface *intf, 
 		goto error;
 	}
 
-	mutex_lock(&ov->lock);
+	mutex_unlock(&ov->lock);
 
 	return 0;
 

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

only message in thread, other threads:[~2009-11-29 16:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-29 16:42 [patch] ov511.c typo: lock => unlock Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox