media: i2c: ov5648 match vts and fps strictly

fix cts  CaptureRequestTest#testEdgeModeControl failed
failed log:
Frame duration must be in the range of [33333333, 33333333],
value 33903000 is out of range [32833332, 33833332])

Change-Id: I054e3546736edcdba041c4a37cb9975ed3fa0870
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
This commit is contained in:
Wang Panzhenzhuan
2019-03-21 10:28:08 +08:00
committed by Tao Huang
parent cdf7fa3eac
commit 13c179992d

View File

@@ -450,7 +450,7 @@ static const struct ov5648_mode supported_modes_2lane[] = {
},
.exp_def = 0x0450,
.hts_def = 0x0b00,
.vts_def = 0x07e8,
.vts_def = 0x07c0,
.reg_list = ov5648_2592x1944_regs,
},
{
@@ -460,9 +460,9 @@ static const struct ov5648_mode supported_modes_2lane[] = {
.numerator = 10000,
.denominator = 300000,
},
.exp_def = 0x03e0,
.exp_def = 0x03d0,
.hts_def = 0x0b00,
.vts_def = 0x03f4,
.vts_def = 0x03e0,
.reg_list = ov5648_1296x972_regs,
},
};