V4L/DVB (13955): cx25821: fix double unlock in medusa_video_init()
authorDan Carpenter <error27@gmail.com>
Mon, 28 Dec 2009 16:59:46 +0000 (13:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:31:38 +0000 (11:31 -0200)
commit423f5c0d016cd6b65c468d3dcdeeb708ee68074b
treea361aa5107f06b90b8d3105657ac5c088fc668c8
parentc42405096bd804c82c7ac9addcbadea7390158e4
V4L/DVB (13955): 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: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/cx25821/cx25821-medusa-video.c