[media] exynos4-is: Fix TRY format propagation at MIPI-CSIS subdev
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 23 Apr 2013 15:40:24 +0000 (12:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 12:38:23 +0000 (09:38 -0300)
commitcbd53542ca35842127c6f581fefbb0a7dd2b4a21
treed9800f70ea7ab2b8221a81740621cb468214ce7d
parentaceb59ed3438dcb2f5c90e2f62f0f9edde4091d2
[media] exynos4-is: Fix TRY format propagation at MIPI-CSIS subdev

Ensure TRY format is propagated from the sink to source pad.
The format at both pads is always same so the TRY format buffer
for pad 0 is used to hold format for both pads.
While at it remove redundant fmt->pad checking.

Reported-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/exynos4-is/mipi-csis.c