All of lore.kernel.org
 help / color / mirror / Atom feed
From: pma@sysgo.com (Pavel Machek)
To: linux-arm-kernel@lists.infradead.org
Subject: for mainline -- fix pcmcia interrupts
Date: Wed, 26 Jan 2011 13:22:16 +0100	[thread overview]
Message-ID: <20110126122216.GA29420@pma.sysgo.com> (raw)


commit 08fa159003aa510027951671b94aadc380ab2d2a
Author: Eric Miao <eric.y.miao@gmail.com>
Date:   Sat Dec 26 12:32:38 2009 +0800

    [ARM] sa1111: avoid using hardcoded IRQ numbers for PCMCIA driver

switched ready interrupts for slot 0 and 1 by mistake. Fix that to
make CF work again.

Signed-off-by: Pavel Machek <pma@sysgo.com>

--- a/drivers/pcmcia/sa1111_generic.c
+++ b/drivers/pcmcia/sa1111_generic.c
@@ -145,8 +145,8 @@ int sa1111_pcmcia_add(struct sa1111_dev *dev, struct pcmcia_low_level *ops,
 		s->soc.socket.owner = ops->owner;
 		s->soc.socket.dev.parent = &dev->dev;
 		s->soc.socket.pci_irq = s->soc.nr ?
-				dev->irq[IDX_IRQ_S0_READY_NINT] :
-				dev->irq[IDX_IRQ_S1_READY_NINT];
+				dev->irq[IDX_IRQ_S1_READY_NINT] :
+				dev->irq[IDX_IRQ_S0_READY_NINT];
 		s->dev = dev;
 
 		ret = add(&s->soc);

WARNING: multiple messages have this Message-ID (diff)
From: Pavel Machek <pma@sysgo.com>
To: kernel list <linux-kernel@vger.kernel.org>,
	eric.y.miao@gmail.com, linux-arm-kernel@lists.infradead.org
Subject: for mainline -- fix pcmcia interrupts
Date: Wed, 26 Jan 2011 13:22:16 +0100	[thread overview]
Message-ID: <20110126122216.GA29420@pma.sysgo.com> (raw)


commit 08fa159003aa510027951671b94aadc380ab2d2a
Author: Eric Miao <eric.y.miao@gmail.com>
Date:   Sat Dec 26 12:32:38 2009 +0800

    [ARM] sa1111: avoid using hardcoded IRQ numbers for PCMCIA driver

switched ready interrupts for slot 0 and 1 by mistake. Fix that to
make CF work again.

Signed-off-by: Pavel Machek <pma@sysgo.com>

--- a/drivers/pcmcia/sa1111_generic.c
+++ b/drivers/pcmcia/sa1111_generic.c
@@ -145,8 +145,8 @@ int sa1111_pcmcia_add(struct sa1111_dev *dev, struct pcmcia_low_level *ops,
 		s->soc.socket.owner = ops->owner;
 		s->soc.socket.dev.parent = &dev->dev;
 		s->soc.socket.pci_irq = s->soc.nr ?
-				dev->irq[IDX_IRQ_S0_READY_NINT] :
-				dev->irq[IDX_IRQ_S1_READY_NINT];
+				dev->irq[IDX_IRQ_S1_READY_NINT] :
+				dev->irq[IDX_IRQ_S0_READY_NINT];
 		s->dev = dev;
 
 		ret = add(&s->soc);


             reply	other threads:[~2011-01-26 12:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-26 12:22 Pavel Machek [this message]
2011-01-26 12:22 ` for mainline -- fix pcmcia interrupts Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110126122216.GA29420@pma.sysgo.com \
    --to=pma@sysgo.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.