[PATCH 1/4] ARM: mmp: add irq_disable callback for gpio chip

Eric Miao eric.y.miao at gmail.com
Thu Sep 8 23:28:11 EDT 2011


Chao,

I actually don't see why do we need irq_disable() here?

On Thu, Sep 8, 2011 at 9:18 PM, Chao Xie <chao.xie at marvell.com> wrote:
> Signed-off-by: Chao Xie <chao.xie at marvell.com>
> ---
>  arch/arm/plat-pxa/gpio.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/plat-pxa/gpio.c b/arch/arm/plat-pxa/gpio.c
> index a11dc36..15de09d 100644
> --- a/arch/arm/plat-pxa/gpio.c
> +++ b/arch/arm/plat-pxa/gpio.c
> @@ -263,6 +263,7 @@ static struct irq_chip pxa_muxed_gpio_chip = {
>        .irq_ack        = pxa_ack_muxed_gpio,
>        .irq_mask       = pxa_mask_muxed_gpio,
>        .irq_unmask     = pxa_unmask_muxed_gpio,
> +       .irq_disable    = pxa_mask_muxed_gpio,
>        .irq_set_type   = pxa_gpio_irq_type,
>  };
>
> --
> 1.7.0.4
>
>



More information about the linux-arm-kernel mailing list