media: rockchip: vicap fixes scale intr error
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com> Change-Id: Icd8f6dae6563c6ee7082e4ff158403faf80a37a0
This commit is contained in:
parent
b21ab65f3a
commit
27568f1756
2 changed files with 3 additions and 2 deletions
|
|
@ -12039,7 +12039,6 @@ unsigned int rkcif_irq_global(struct rkcif_device *cif_dev)
|
|||
intstat_glb);
|
||||
return 0;
|
||||
}
|
||||
rkcif_irq_handle_scale(cif_dev, intstat_glb);
|
||||
return intstat_glb;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1301,8 +1301,10 @@ static irqreturn_t rkcif_irq_handler(int irq, void *ctx)
|
|||
cif_hw->cif_dev[i]->err_state = 0;
|
||||
schedule_work(&cif_hw->cif_dev[i]->err_state_work.work);
|
||||
}
|
||||
if (cif_hw->chip_id >= CHIP_RK3588_CIF && intstat_glb)
|
||||
if (cif_hw->chip_id >= CHIP_RK3588_CIF && intstat_glb) {
|
||||
rkcif_irq_handle_toisp(cif_hw->cif_dev[i], intstat_glb);
|
||||
rkcif_irq_handle_scale(cif_hw->cif_dev[i], intstat_glb);
|
||||
}
|
||||
}
|
||||
}
|
||||
irq_stop = ktime_get_ns();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue