+ gpio-pca953xc-add-interrupt-handling-capability-v4.patch added to -mm tree

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

 



The patch titled
     gpio-pca953xc-add-interrupt-handling-capability-v4
has been added to the -mm tree.  Its filename is
     gpio-pca953xc-add-interrupt-handling-capability-v4.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: gpio-pca953xc-add-interrupt-handling-capability-v4
From: Marc Zyngier <maz@xxxxxxxxxxxxxxx>

- Fix compilation issue on anything but ARM
- Remove unnecessary inlines, courtesy of Andrew Morton

Signed-off-by: Marc Zyngier <maz@xxxxxxxxxxxxxxx>
Cc: David Brownell <david-b@xxxxxxxxxxx>
Cc: Eric Miao <eric.y.miao@xxxxxxxxx>
Cc: Haojian Zhuang <haojian.zhuang@xxxxxxxxx>
Cc: Marc Zyngier <maz@xxxxxxxxxxxxxxx>
Cc: Nate Case <ncase@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/gpio/pca953x.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff -puN drivers/gpio/pca953x.c~gpio-pca953xc-add-interrupt-handling-capability-v4 drivers/gpio/pca953x.c
--- a/drivers/gpio/pca953x.c~gpio-pca953xc-add-interrupt-handling-capability-v4
+++ a/drivers/gpio/pca953x.c
@@ -371,7 +371,11 @@ static int pca953x_irq_setup(struct pca9
 			set_irq_chip_and_handler(irq, &pca953x_irq_chip,
 						 handle_edge_irq);
 			set_irq_nested_thread(irq, 1);
+#ifdef CONFIG_ARM
 			set_irq_flags(irq, IRQF_VALID);
+#else
+			set_irq_noprobe(irq);
+#endif
 		}
 
 		ret = request_threaded_irq(client->irq,
@@ -413,7 +417,7 @@ static int pca953x_irq_setup(struct pca9
 	return 0;
 }
 
-static inline void pca953x_irq_teardown(struct pca953x_chip *chip)
+static void pca953x_irq_teardown(struct pca953x_chip *chip)
 {
 }
 #endif
_

Patches currently in -mm which might be from maz@xxxxxxxxxxxxxxx are

gpio-pca953xc-add-interrupt-handling-capability.patch
gpio-pca953xc-add-interrupt-handling-capability-fix.patch
gpio-pca953xc-add-interrupt-handling-capability-v4.patch

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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux