media: i2c: rk628: fix the last few lines offset

Change-Id: I232a15790ce10dbd316514e019b941a8632536cb
Signed-off-by: Chen Shunqing <csq@rock-chips.com>
This commit is contained in:
Chen Shunqing
2024-04-29 11:45:47 +08:00
committed by Tao Huang
parent 41d5dce87d
commit 8a36695275

View File

@@ -573,6 +573,8 @@ static void calc_dsp_frm_hst_vst(const struct videomode *src,
do_div(t_frm_st, src_pixclock);
*dsp_frame_hst = do_div(t_frm_st, src_htotal);
if (src->vfront_porch < t_frm_st)
t_frm_st = src->vfront_porch;
*dsp_frame_vst = t_frm_st;
}