From c6c8600412f58e2092b8872ee5907061d95228e9 Mon Sep 17 00:00:00 2001 From: Sylwester Nawrocki Date: Fri, 26 Feb 2016 17:02:46 +0100 Subject: [PATCH] fimc-is: Workaround for CLK_MOUT_ACLK_CAM1_552_USER clock When CLK_MOUT_ACLK_CAM1_552_USER clock is properly defined in clk-exynos5433.c re-parenting commented out in this patch causes that only empty buffers can be dequeued from the scaler for front camera. So re-parenting is disabled for now until we can address this issue in a better way. Change-Id: I6198a5f8945638ec0002a071d8f4865920790d00 Signed-off-by: Sylwester Nawrocki --- drivers/media/platform/exynos/fimc-is/setup-fimc-is.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos/fimc-is/setup-fimc-is.c b/drivers/media/platform/exynos/fimc-is/setup-fimc-is.c index 8699f5a64bda..39e4b0be5f62 100644 --- a/drivers/media/platform/exynos/fimc-is/setup-fimc-is.c +++ b/drivers/media/platform/exynos/fimc-is/setup-fimc-is.c @@ -244,7 +244,8 @@ int exynos5430_cfg_clk_cam0(struct platform_device *pdev) int exynos5430_cfg_clk_cam1(struct platform_device *pdev) { /* USER_MUX_SEL */ - fimc_is_set_parent_dt(pdev, "mout_aclk_cam1_552_user", "aclk_cam1_552"); + /* FIXME: when this is uncommented only empty buffers are dequeued */ + /* fimc_is_set_parent_dt(pdev, "mout_aclk_cam1_552_user", "aclk_cam1_552"); */ fimc_is_set_parent_dt(pdev, "mout_aclk_cam1_400_user", "aclk_cam1_400"); fimc_is_set_parent_dt(pdev, "mout_aclk_cam1_333_user", "aclk_cam1_333"); -- 2.34.1