aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/db1xxx_ss.c
diff options
context:
space:
mode:
authorYong Zhang <yong.zhang0@gmail.com>2011-10-22 05:56:49 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2012-03-03 08:43:36 -0500
commitd571c79e86fa7704265b9127403a78ccd3c01729 (patch)
treef60767922ab009ff94fa295e98d1c25502a8ece8 /drivers/pcmcia/db1xxx_ss.c
parent6b21d18ed50c7d145220b0724ea7f2613abf0f95 (diff)
pcmcia: irq: Remove IRQF_DISABLED
Since commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled and we even check and yell when an interrupt handler returns with interrupts enabled (see commit [b738a50a: genirq: Warn when handler enables interrupts]). So now this flag is a NOOP and can be removed. Signed-off-by: Yong Zhang <yong.zhang0@gmail.com> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/db1xxx_ss.c')
-rw-r--r--drivers/pcmcia/db1xxx_ss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pcmcia/db1xxx_ss.c b/drivers/pcmcia/db1xxx_ss.c
index 5b7c22784aff..deb348cf573e 100644
--- a/drivers/pcmcia/db1xxx_ss.c
+++ b/drivers/pcmcia/db1xxx_ss.c
@@ -172,12 +172,12 @@ static int db1x_pcmcia_setup_irqs(struct db1x_pcmcia_sock *sock)
172 if ((sock->board_type == BOARD_TYPE_DB1200) || 172 if ((sock->board_type == BOARD_TYPE_DB1200) ||
173 (sock->board_type == BOARD_TYPE_DB1300)) { 173 (sock->board_type == BOARD_TYPE_DB1300)) {
174 ret = request_irq(sock->insert_irq, db1200_pcmcia_cdirq, 174 ret = request_irq(sock->insert_irq, db1200_pcmcia_cdirq,
175 IRQF_DISABLED, "pcmcia_insert", sock); 175 0, "pcmcia_insert", sock);
176 if (ret) 176 if (ret)
177 goto out1; 177 goto out1;
178 178
179 ret = request_irq(sock->eject_irq, db1200_pcmcia_cdirq, 179 ret = request_irq(sock->eject_irq, db1200_pcmcia_cdirq,
180 IRQF_DISABLED, "pcmcia_eject", sock); 180 0, "pcmcia_eject", sock);
181 if (ret) { 181 if (ret) {
182 free_irq(sock->insert_irq, sock); 182 free_irq(sock->insert_irq, sock);
183 goto out1; 183 goto out1;