exynos4-is: Fix compressed format setting in fimc-capture
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 22 Aug 2013 15:49:18 +0000 (17:49 +0200)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:44:07 +0000 (11:44 +0900)
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/media/platform/exynos4-is/fimc-capture.c

index fb27ff7..e946ba3 100644 (file)
@@ -991,8 +991,8 @@ static int __video_try_or_set_format(struct fimc_dev *fimc,
 
                sensor = __fimc_md_get_subdev(ve->pipe, IDX_SENSOR);
                if (sensor)
-                       fimc_get_sensor_frame_desc(sensor, pix->plane_fmt,
-                                                  (*out_fmt)->memplanes, try);
+                       ret = fimc_get_sensor_frame_desc(sensor, pix->plane_fmt,
+                                                  (*out_fmt)->memplanes, true);
                else
                        ret = -EPIPE;