hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/drivers/media/platform/rockchip/isp/isp_stats_v21.c
....@@ -940,6 +940,7 @@
940940 struct rkisp_isp21_stat_buffer *cur_stat_buf = NULL;
941941 struct rkisp_stats_v21_ops *ops =
942942 (struct rkisp_stats_v21_ops *)stats_vdev->priv_ops;
943
+ struct rkisp_isp_params_vdev *params_vdev = &stats_vdev->dev->params_vdev;
943944 int ret = 0;
944945
945946 cur_frame_id = meas_work->frame_id;
....@@ -958,6 +959,7 @@
958959 cur_stat_buf =
959960 (struct rkisp_isp21_stat_buffer *)(cur_buf->vaddr[0]);
960961 cur_stat_buf->frame_id = cur_frame_id;
962
+ cur_stat_buf->params_id = params_vdev->cur_frame_id;
961963 }
962964
963965 if (meas_work->isp_ris & ISP2X_AFM_SUM_OF)