From: Guosong Zhou Date: Mon, 26 Aug 2019 11:14:35 +0000 (-0400) Subject: camera: fix gc2145 mipi camera mirror [1/1] X-Git-Tag: hardkernel-4.9.236-104~725 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1bd0ac64f0b1d0f584277528d372f6f4abe5f239;p=platform%2Fkernel%2Flinux-amlogic.git camera: fix gc2145 mipi camera mirror [1/1] PD#SWPL-12760 Problem: camera preview interface left and right invert Solution: adjust gc2145 mipi camera mirror register Verify: S905D3-AC200 Change-Id: I1789e5d055bf8661e6ec30f67e6e8db4a6fc99f6 Signed-off-by: Guosong Zhou --- diff --git a/drivers/amlogic/media/camera/gc2145_mipi.c b/drivers/amlogic/media/camera/gc2145_mipi.c index a01edeb..f251ef6a 100644 --- a/drivers/amlogic/media/camera/gc2145_mipi.c +++ b/drivers/amlogic/media/camera/gc2145_mipi.c @@ -2006,7 +2006,7 @@ static int set_resolution_param(struct gc2145_device *dev, i++; } dev->cur_resolution_param = res_param; - set_flip(dev, NORMAL); + set_flip(dev, H_MIRROR); return 0; }