[media] dt3155v4l: fix incorrect mutex locking
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 10 Apr 2013 11:05:00 +0000 (08:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 14 Apr 2013 23:03:09 +0000 (20:03 -0300)
commit228b791bfd52f437fd9a04fe9432dfec9c0d0333
tree177bc7f566cf7c49e6f7d9717127424560af9bc2
parent48fc9e26705f3c681a5a5fcd97f28be2c2393237
[media] dt3155v4l: fix incorrect mutex locking

A mutex_unlock was missing in the 'success' path of the open() call,
and also at one error path in the same function.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/dt3155v4l/dt3155v4l.c