]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] exynos-gsc: Register v4l2 device
authorArun Kumar K <arun.kk@samsung.com>
Fri, 26 Jul 2013 10:28:01 +0000 (07:28 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 3 Sep 2013 12:24:21 +0000 (09:24 -0300)
commitd0b1c31349969973204fad21a076aecf131cc5e4
tree4ba0266d423fefbd8b6e938ed2df15919ce03454
parent3396b096c54a84603c51bd705effa88f7f5b0d76
[media] exynos-gsc: Register v4l2 device

Gscaler video device registration was happening without reference to
a parent v4l2_dev causing probe to fail. The patch creates a parent
v4l2 device and uses it for the gsc m2m video device registration.
This fixes regression introduced with comit commit 1c1d86a1ea07506
[media] v4l2: always require v4l2_dev, rename parent to dev_parent

Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Cc: stable@vger.kernel.org
drivers/media/platform/exynos-gsc/gsc-core.c
drivers/media/platform/exynos-gsc/gsc-core.h
drivers/media/platform/exynos-gsc/gsc-m2m.c