summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRobby Cai <R63905@freescale.com>2013-03-14 17:58:01 +0800
committerRobby Cai <R63905@freescale.com>2013-03-21 14:00:05 +0800
commit3c4d081940ec00fecd87a55721e14116dc01e481 (patch)
tree2a0ecbebf4cf6d3f5da86a5a19cbc24946137b7e /drivers
parent78ad8b6f9d18cf5595cb532b7e08804aff158815 (diff)
ENGR00252064-3 camera: ov5640: fix missed setting for light_frequency
Confirmed from OV, the missed setting for light_frequency need to be added. Signed-off-by: Robby Cai <R63905@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/mxc/capture/ov5640.c1
-rw-r--r--drivers/media/video/mxc/capture/ov5640_mipi.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/mxc/capture/ov5640.c b/drivers/media/video/mxc/capture/ov5640.c
index 3195377152b7..fabbc23645cc 100644
--- a/drivers/media/video/mxc/capture/ov5640.c
+++ b/drivers/media/video/mxc/capture/ov5640.c
@@ -828,6 +828,7 @@ static int ov5640_get_light_freq(void)
light_frequency = 50;
} else {
/* 60Hz */
+ light_frequency = 60;
}
}
diff --git a/drivers/media/video/mxc/capture/ov5640_mipi.c b/drivers/media/video/mxc/capture/ov5640_mipi.c
index 04f5ee73b5b9..a373e5bed450 100644
--- a/drivers/media/video/mxc/capture/ov5640_mipi.c
+++ b/drivers/media/video/mxc/capture/ov5640_mipi.c
@@ -904,6 +904,7 @@ int OV5640_get_light_freq(void)
light_freq = 50;
} else {
/* 60Hz */
+ light_freq = 60;
}
}
return light_freq;