From 9212349291a7f41825ae5ec12fa597ae63f5e488 Mon Sep 17 00:00:00 2001 From: Sheng Nan Date: Mon, 15 Oct 2012 20:00:25 +0800 Subject: [PATCH] ENGR00224964-3 IPU: Capture: add csi wait4eof support of CSI-IC channel current _ipu_csi_wait4eof only support CSI-->MEM channel - add support of CSI_PRP_ENC_MEM - add support of CSI_PRP_VF_MEM Signed-off-by: Sheng Nan --- drivers/mxc/ipu3/ipu_capture.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/mxc/ipu3/ipu_capture.c b/drivers/mxc/ipu3/ipu_capture.c index dae3a7596bc9..f463836e28ad 100644 --- a/drivers/mxc/ipu3/ipu_capture.c +++ b/drivers/mxc/ipu3/ipu_capture.c @@ -792,8 +792,12 @@ void _ipu_csi_wait4eof(struct ipu_soc *ipu, ipu_channel_t channel) irq = IPU_IRQ_CSI2_OUT_EOF; else if (channel == CSI_MEM3) irq = IPU_IRQ_CSI3_OUT_EOF; + else if (channel == CSI_PRP_ENC_MEM) + irq = IPU_IRQ_PRP_ENC_OUT_EOF; + else if (channel == CSI_PRP_VF_MEM) + irq = IPU_IRQ_PRP_VF_OUT_EOF; else{ - dev_err(ipu->dev, "Not a CSI SMFC channel\n"); + dev_err(ipu->dev, "Not a CSI channel\n"); return; } -- 2.39.5