From fa04cdc1055c549323102ae60e30f56d487e28b4 Mon Sep 17 00:00:00 2001 From: Wayne Zou Date: Tue, 12 Jun 2012 14:37:40 +0800 Subject: [PATCH] ENGR00213158-1 IPU: Add IPU oneshot interrupt mode Add IPU oneshot interrupt mode: IPU_IRQF_ONESHOT. Interrupt is not reenabled after irq handler finished. Signed-off-by: Wayne Zou --- arch/arm/plat-mxc/include/mach/ipu-v3.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/plat-mxc/include/mach/ipu-v3.h b/arch/arm/plat-mxc/include/mach/ipu-v3.h index 1ddd69ed1bb1..82da102f44fe 100755 --- a/arch/arm/plat-mxc/include/mach/ipu-v3.h +++ b/arch/arm/plat-mxc/include/mach/ipu-v3.h @@ -309,6 +309,12 @@ typedef union { } adc_sys2; } ipu_channel_params_t; +/* + * IPU_IRQF_ONESHOT - Interrupt is not reenabled after the irq handler finished. + */ +#define IPU_IRQF_NONE 0x00000000 +#define IPU_IRQF_ONESHOT 0x00000001 + /*! * Enumeration of IPU interrupt sources. */ -- 2.39.5