]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: cx25821: fix double unlock in medusa_video_init()
authorDan Carpenter <error27@gmail.com>
Mon, 28 Dec 2009 16:59:46 +0000 (18:59 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:38 +0000 (16:42 -0800)
commit6609cfa61c284b4ee01f56699c88cf96d142cb26
treedb3723ace0932bef9ac0851a61f0b76b177e5b4a
parentecd8530a91e22d2b169d5142e0062bfa3606e362
Staging: cx25821: fix double unlock in medusa_video_init()

medusa_set_videostandard() takes the lock but it always drops it before
returning.

This was found with a static checker and compile tested only.  :/

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/cx25821/cx25821-medusa-video.c