RE: disable_irq is broken in linux-omap-git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----Original Message-----
From: linux-omap-owner@xxxxxxxxxxxxxxx [mailto:linux-omap-owner@xxxxxxxxxxxxxxx] On Behalf Of Steve Sakoman
Sent: Monday, October 13, 2008 9:21 PM
To: linux-omap@xxxxxxxxxxxxxxx
Subject: Re: disable_irq is broken in linux-omap-git

It has been an empty function for more than a year and a half -- see
the following patch for the reason it was removed:

http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commit;h=76d2160147f43f982dfe881404cfde9fd0a9da21

Ok, but it does not seem that OMAP tree supplies disable handler either - so disable_irq is not recommended ?

arch/arm/mach-omap2/irq.c

static struct irq_chip omap_irq_chip = {
           .name   = "INTC",
           .ack    = omap_mask_ack_irq,
           .mask   = omap_mask_irq,
           .unmask = omap_unmask_irq,
};

arch/arm/plat-omap/gpio.c

static struct irq_chip mpuio_irq_chip = {
         .name           = "MPUIO",
         .ack            = mpuio_ack_irq,
         .mask           = mpuio_mask_irq,
         .unmask         = mpuio_unmask_irq,
         .set_type       = gpio_irq_type,
#ifdef CONFIG_ARCH_OMAP16XX
         /* REVISIT: assuming only 16xx supports MPUIO wake events */
         .set_wake       = gpio_wake_enable,
#endif
};

static struct irq_chip gpio_irq_chip = {
         .name           = "GPIO",
         .shutdown       = gpio_irq_shutdown,
         .ack            = gpio_ack_irq,
         .mask           = gpio_mask_irq,
         .unmask         = gpio_unmask_irq,
         .set_type       = gpio_irq_type,
         .set_wake       = gpio_wake_enable,
};

Regards,
Pratheesh
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux