[media] exynos4-is: Clean up file handle in open() error path
authorShailendra Verma <shailendra.v@samsung.com>
Fri, 2 Dec 2016 04:43:05 +0000 (02:43 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 11:58:42 +0000 (09:58 -0200)
commit5e6df4eb255af36b36f6b31b4bcece23cffefc5c
treee9a65b6ce00e49c99083f2daa5bda470f87118e9
parent0ffb94b6cc5df6376ab6bff5b80075641f6716f8
[media] exynos4-is: Clean up file handle in open() error path

The file handle is not yet added in the vfd list. So no need
to call v4l2_fh_del(&ctx->fh) if it fails to create controls.

Signed-off-by: Shailendra Verma <shailendra.v@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/exynos4-is/fimc-m2m.c