mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
media: rockchip: isp: fix lsc no update for isp30
Change-Id: I929457395c842b745f41d802d2f3652a7ca358bb Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -308,9 +308,10 @@ static void rkisp_params_vb2_stop_streaming(struct vb2_queue *vq)
|
||||
/* clean module params */
|
||||
params_vdev->ops->clear_first_param(params_vdev);
|
||||
params_vdev->rdbk_times = 0;
|
||||
if (!(dev->isp_state & ISP_START))
|
||||
if (params_vdev->is_first_cfg) {
|
||||
rkisp_params_stream_stop(params_vdev);
|
||||
|
||||
params_vdev->is_first_cfg = false;
|
||||
}
|
||||
dev->fpn_cfg.en = 0;
|
||||
if (dev->fpn_cfg.buf) {
|
||||
vfree(dev->fpn_cfg.buf);
|
||||
@@ -568,7 +569,6 @@ void rkisp_params_stream_stop(struct rkisp_isp_params_vdev *params_vdev)
|
||||
/* isp stop to free buf */
|
||||
if (params_vdev->ops->stream_stop)
|
||||
params_vdev->ops->stream_stop(params_vdev);
|
||||
params_vdev->first_cfg_params = false;
|
||||
}
|
||||
|
||||
bool rkisp_params_check_bigmode(struct rkisp_isp_params_vdev *params_vdev)
|
||||
|
||||
Reference in New Issue
Block a user