linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] sdio: add quirk for spurious SDIO IRQ
@ 2011-06-01  8:48 Per Forlin
  2011-06-01  8:48 ` [PATCH v2 1/2] sdio: add quirk to handle pending IRQ in case of none CCCR_INTx bits Per Forlin
  2011-06-01 15:59 ` [PATCH v2 0/2] sdio: add quirk for spurious SDIO IRQ Nicolas Pitre
  0 siblings, 2 replies; 8+ messages in thread
From: Per Forlin @ 2011-06-01  8:48 UTC (permalink / raw)
  To: linux-arm-kernel

From: Per Forlin <per.forlin@linaro.org>

Daniel Drake reported an issue in the libertas sdio client that was
triggered by the sdio_single_irq functionality. His SDIO device seems to
raise an interrupt even though there are no bits set in the CCCR_INTx
register. This behaviour is not supported by the sdio_single_irq feature nor
the SDIO spec. The purpose of the sdio_single_irq feature is to avoid the
overhead of checking the CCCR_INTx registers, this result in no error
handling of the case if there is a pending IRQ with none CCCR_INTx bits set.

This patchset adds a quirk to support this spurious IRQ issue and also report
a warning if an SDIO interrupt is raised but none CCCR_INTx bits are set.

Changes since v1:
 * Replace public sdio function to enable disable SDIO single IRQ function
   with a quirk

Per Forlin (2):
  sdio: add quirk to handle pending IRQ in case of none CCCR_INTx bits
  sdio: report error if pending IRQ but none CCCR_INTx bits

 drivers/mmc/core/sdio_irq.c |    9 +++++++--
 include/linux/mmc/card.h    |    1 +
 2 files changed, 8 insertions(+), 2 deletions(-)

-- 
1.7.4.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-06-07  6:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-01  8:48 [PATCH v2 0/2] sdio: add quirk for spurious SDIO IRQ Per Forlin
2011-06-01  8:48 ` [PATCH v2 1/2] sdio: add quirk to handle pending IRQ in case of none CCCR_INTx bits Per Forlin
2011-06-01  8:48   ` [PATCH v2 2/2] sdio: report error if pending IRQ but " Per Forlin
2011-06-01 21:36   ` [PATCH v2 1/2] sdio: add quirk to handle pending IRQ in case of " Troy Kisky
2011-06-07  6:49     ` Per Forlin
2011-06-01 15:59 ` [PATCH v2 0/2] sdio: add quirk for spurious SDIO IRQ Nicolas Pitre
2011-06-01 17:00   ` Chris Ball
2011-06-07  6:41   ` Per Forlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).