]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit85766f5ead70da0b48f7b3ed9becc6aee6caa08e
tree177bc7f566cf7c49e6f7d9717127424560af9bc2
parentf13998cd3721b67ce78aff08a4a5ea24f35b8507
[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