]> git.karo-electronics.de Git - linux-beck.git/commit
[media] staging: media: davinci_vpfe: unlock on error in vpfe_reqbufs()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 18 Nov 2016 11:30:24 +0000 (09:30 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 23 Nov 2016 15:59:21 +0000 (13:59 -0200)
commitc4a407b91f4b644145492e28723f9f880efb1da0
tree14739c73cb128c47e9f2658b1cb339d56d4fb95f
parenteb02cadc5ca0d9753510cded8b9afc57c37be4e0
[media] staging: media: davinci_vpfe: unlock on error in vpfe_reqbufs()

We should unlock before returning this error code in vpfe_reqbufs().

Fixes: 622897da67b3 ("[media] davinci: vpfe: add v4l2 video driver support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/davinci_vpfe/vpfe_video.c