media: i2c: sc230ai init cur_fps, fixed error of g_frame_interval

Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I1851281bacaa35566a49a7ff3f4c2790593e407b
This commit is contained in:
Zefa Chen
2022-09-05 17:39:13 +08:00
parent dbe1892e27
commit 62feb1c904

View File

@@ -1573,7 +1573,7 @@ static int sc230ai_initialize_controls(struct sc230ai *sc230ai)
sc230ai->subdev.ctrl_handler = handler;
sc230ai->has_init_exp = false;
sc230ai->cur_fps = mode->max_fps;
return 0;
err_free_handler: