mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
media: rockchip: isp: fix crash in normal mode
Signed-off-by: Hu Kejun <william.hu@rock-chips.com> Change-Id: I84a80657d04f36329910ea1680dfb932469e26fa
This commit is contained in:
parent
fae0c499d0
commit
74c472cfec
|
|
@ -4106,8 +4106,10 @@ rkisp_params_cfg_v2x(struct rkisp_isp_params_vdev *params_vdev,
|
|||
cur_buf = list_first_entry(¶ms_vdev->params,
|
||||
struct rkisp_buffer, queue);
|
||||
|
||||
if (!IS_HDR_RDBK(dev->hdr.op_mode))
|
||||
if (!IS_HDR_RDBK(dev->hdr.op_mode)) {
|
||||
list_del(&cur_buf->queue);
|
||||
break;
|
||||
}
|
||||
|
||||
new_params = (struct isp2x_isp_params_cfg *)(cur_buf->vaddr[0]);
|
||||
if (new_params->frame_id < frame_id) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user