From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/media/platform/rockchip/cif/cif-scale.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/kernel/drivers/media/platform/rockchip/cif/cif-scale.c b/kernel/drivers/media/platform/rockchip/cif/cif-scale.c
index 7ea3404..a9b97a6 100644
--- a/kernel/drivers/media/platform/rockchip/cif/cif-scale.c
+++ b/kernel/drivers/media/platform/rockchip/cif/cif-scale.c
@@ -364,8 +364,8 @@
input_rect.height = RKCIF_DEFAULT_HEIGHT;
if (terminal_sensor && terminal_sensor->sd)
- get_input_fmt(terminal_sensor->sd,
- &input_rect, 0, &csi_info);
+ rkcif_get_input_fmt(dev,
+ &input_rect, 0, &csi_info);
switch (fsize->index) {
case SCALE_8TIMES:
@@ -968,7 +968,7 @@
scale_vdev->pixm.plane_fmt[i].sizeimage);
}
- vb_done->vb2_buf.timestamp = ktime_get_ns();
+ vb_done->vb2_buf.timestamp = rkcif_time_get_ns(scale_vdev->cifdev);
vb2_buffer_done(&vb_done->vb2_buf, VB2_BUF_STATE_DONE);
}
--
Gitblit v1.6.2