summaryrefslogtreecommitdiff
path: root/drivers/mxc
diff options
context:
space:
mode:
authorSheng Nan <b38800@freescale.com>2012-10-15 20:00:25 +0800
committerSheng Nan <b38800@freescale.com>2012-10-16 15:57:39 +0800
commit4ddc27dff9b806d8c21dbcf7a57a3608c422d1a4 (patch)
tree79c11071e5e9f10c3fffcd37067b6687404a7852 /drivers/mxc
parentfb4b5a097f844905ec703d48fb4fc337df7eb9a0 (diff)
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 <b38800@freescale.com>
Diffstat (limited to 'drivers/mxc')
-rw-r--r--drivers/mxc/ipu3/ipu_capture.c6
1 files changed, 5 insertions, 1 deletions
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;
}