From: Sheng Nan Date: Mon, 15 Oct 2012 12:00:25 +0000 (+0800) Subject: ENGR00224964-3 IPU: Capture: add csi wait4eof support of CSI-IC channel X-Git-Tag: v3.0.35-fsl~355 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9212349291a7f41825ae5ec12fa597ae63f5e488;p=karo-tx-linux.git 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 --- 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; }