mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user