mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user