forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 072de836f53be56a70cecf70b43ae43b7ce17376
kernel/drivers/media/platform/rockchip/cif/cif-scale.c
....@@ -364,8 +364,8 @@
364364 input_rect.height = RKCIF_DEFAULT_HEIGHT;
365365
366366 if (terminal_sensor && terminal_sensor->sd)
367
- get_input_fmt(terminal_sensor->sd,
368
- &input_rect, 0, &csi_info);
367
+ rkcif_get_input_fmt(dev,
368
+ &input_rect, 0, &csi_info);
369369
370370 switch (fsize->index) {
371371 case SCALE_8TIMES: