]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: omap4iss: Clean up file handle in open() and release()
authorShailendra Verma <shailendra.v@samsung.com>
Fri, 25 Nov 2016 04:49:14 +0000 (02:49 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 13:50:06 +0000 (11:50 -0200)
commit3d739fc005b02a254aab516912ee020627585d30
treeb6f221005a9f1e688d9e508cb73ed895f326c1c8
parentec41e5cd5866499d8e8ec57f3e85ca81b5ffac58
[media] v4l: omap4iss: Clean up file handle in open() and release()

Both functions initialize the file handle with v4l2_fh_init() and thus
need to call clean up with v4l2_fh_exit() as appropriate. Fix it.

Signed-off-by: Shailendra Verma <shailendra.v@samsung.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/omap4iss/iss_video.c