Linux Kernel Mailing List | 1 Jul 2012 01:28

ARM: mach-shmobile: add missing GPIO IRQ configuration on mackerel

Gitweb:     http://git.kernel.org/linus/;a=commit;h=56fb523f12665974bd249a39524b75b4f5e57388
Commit:     56fb523f12665974bd249a39524b75b4f5e57388
Parent:     6ae42bb22b40254e6488bbfe47f970620ab6d433
Author:     Guennadi Liakhovetski <g.liakhovetski <at> gmx.de>
AuthorDate: Wed Jun 20 12:15:59 2012 +0200
Committer:  Rafael J. Wysocki <rjw <at> sisk.pl>
CommitDate: Wed Jun 20 12:15:59 2012 +0200

    ARM: mach-shmobile: add missing GPIO IRQ configuration on mackerel

    SDHI0 card-detect GPIO IRQ on mackarel currently works, because it is the
    default configuration of IRQ26. However, we should not rely on this and
    should configure the function explicitly.

    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski <at> gmx.de>
    Acked-by: Magnus Damm <damm <at> opensource.se>
    Signed-off-by: Rafael J. Wysocki <rjw <at> sisk.pl>
---
 arch/arm/mach-shmobile/board-mackerel.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c
index b577f7c..150122a 100644
--- a/arch/arm/mach-shmobile/board-mackerel.c
+++ b/arch/arm/mach-shmobile/board-mackerel.c
 <at>  <at>  -1512,6 +1512,9  <at>  <at>  static void __init mackerel_init(void)
 	gpio_request(GPIO_FN_SDHID0_1, NULL);
 	gpio_request(GPIO_FN_SDHID0_0, NULL);

+	/* SDHI0 PORT172 card-detect IRQ26 */
(Continue reading)


Gmane