Skip to contentSkip to conversation

genirq: Fix documentation of default chip disable()

PATCH In review Mark Brown 1 participant 2 messages Jan 5, 2010 – Jan 13, 2010 IRQ

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 genirq: Fix documentation of default chip disable()

The documentation says that by default disable() will be chip->mask but in fact default_disable() is a noop.

---

 include/linux/irq.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/irq.h +1 -1
index 451481c..d13492d 100644
@@ -90,7 +90,7 @@ struct msi_desc;
  * @startup:		start up the interrupt (defaults to ->enable if NULL)
  * @shutdown:		shut down the interrupt (defaults to ->disable if NULL)
  * @enable:		enable the interrupt (defaults to chip->unmask if NULL)
- * @disable:		disable the interrupt (defaults to chip->mask if NULL)
+ * @disable:		disable the interrupt
  * @ack:		start of a new interrupt
  * @mask:		mask an interrupt source
  * @mask_ack:		ack and mask an interrupt source
Signature · 1 line
1.6.5.7
#1 lore raw
Commit-ID:  599faa0e264fe2e7f563f87b4aad8c83e9dc46d1
Gitweb:     http://git.kernel.org/tip/599faa0e264fe2e7f563f87b4aad8c83e9dc46d1
Author:     Mark Brown <[email protected]>
AuthorDate: Tue, 5 Jan 2010 13:29:58 +0000
Committer:  Ingo Molnar <[email protected]>
CommitDate: Wed, 13 Jan 2010 11:14:18 +0100

genirq: Fix documentation of default chip disable()

The documentation says that by default disable() will be chip->mask but in fact default_disable() is a noop.

LKML-Reference: <1262698198-30392-1-git-send-email-broonie@opensource.wolfsonmicro.com>

---
 include/linux/irq.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/irq.h +1 -1
index 451481c..d13492d 100644
@@ -90,7 +90,7 @@ struct msi_desc;
  * @startup:		start up the interrupt (defaults to ->enable if NULL)
  * @shutdown:		shut down the interrupt (defaults to ->disable if NULL)
  * @enable:		enable the interrupt (defaults to chip->unmask if NULL)
- * @disable:		disable the interrupt (defaults to chip->mask if NULL)
+ * @disable:		disable the interrupt
  * @ack:		start of a new interrupt
  * @mask:		mask an interrupt source
  * @mask_ack:		ack and mask an interrupt source