[media] davinci: vpfe: fix error path in probe
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Fri, 10 May 2013 03:48:38 +0000 (00:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 May 2013 10:57:30 +0000 (07:57 -0300)
commit39e219d9292958460c3229df29995454414ce626
treeab17e4f84294f3e2b53250b7afe90cb3690ea80a
parentbdea0d222a21f864a811cf6666532334e622f7c6
[media] davinci: vpfe: fix error path in probe

The error path on failure was calling mutex_unlock(), but there was
no actuall call before for mutex_lock(). This patch fixes this issue
by pointing it to proper go label.

Reported-by: Jose Pablo Carballo <jose.carballo@ridgerun.com>
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/davinci/vpfe_capture.c