If this timeout is too small, it can't meet the require of some large
frame such as 2592x1944 and 1080p, and the IDMAC maybe in a chaotic
state, so at last access some invalid space caused the system hang.
Signed-off-by: Yuxi Sun <b36102@freescale.com>
dev_err(ipu->dev, "CSI irq %d in use\n", irq);
return;
}
- ret = wait_for_completion_timeout(&ipu->csi_comp, msecs_to_jiffies(50));
+ ret = wait_for_completion_timeout(&ipu->csi_comp, msecs_to_jiffies(500));
ipu_free_irq(ipu, irq, ipu);
dev_dbg(ipu->dev, "CSI stop timeout - %d * 10ms\n", 5 - ret);
}