diff options
author | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:26:01 -0600 |
---|---|---|
committer | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:26:01 -0600 |
commit | 1ab52e7243c0d72f70fe71289ba1a9e4402847d5 (patch) | |
tree | e2d8d253113a9416498c0b372cc69a0fac636570 | |
parent | 52735b4549f9a8f6b6c9a49e91bb993e252bd9bb (diff) |
CR ENGR00047020 MX27TO2 MMC: card removal spurious int messages
Patch for CR ENGR00047020 MX27TO2 MMC: card removal spurious int messages.
This moves the spurious interrupt messages to the debug level. In any
case, a new CPLD revision ensures that they come only sparingly. Applies
to linus 2.6.22 kernel for MX27 platform.
http://www.bitshrine.org/gpp/linux-2.6.22-mx-CR-ENGR00047020-MX27TO2-MMC-card-removal-s.patch
-rw-r--r-- | arch/arm/mach-mx27/mx27ads.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/mach-mx27/mx27ads.c b/arch/arm/mach-mx27/mx27ads.c index 8ee9804cb1bd..d5e30463a207 100644 --- a/arch/arm/mach-mx27/mx27ads.c +++ b/arch/arm/mach-mx27/mx27ads.c @@ -401,9 +401,9 @@ static void mxc_expio_irq_handler(u32 irq, struct irq_desc *desc) mxc_card_status = stat; if (card_int != 0) { - for (i = MXC_CARD_MIN; i <= MXC_CARD_MAX - 1; i++) { + for (i = MXC_CARD_MIN; i <= MXC_CARD_MAX; i++) { if ((card_int & (1 << i)) != 0) { - pr_info("card no %d state changed\n", i); + pr_debug("card no %d state changed\n", i); } } } @@ -414,9 +414,8 @@ static void mxc_expio_irq_handler(u32 irq, struct irq_desc *desc) int_valid = (int_valid & 0x0F8E) | (card_int << PBC_INTR_SD2_EN_BIT); if (unlikely(!int_valid)) { - printk(KERN_ERR "\nEXPIO: Spurious interrupt:0x%0x\n\n", - int_valid); - pr_info("CPLD IMR(0x38)=0x%x, BSTAT1(0x28)=0x%x\n", imr, stat); + pr_debug("\nEXPIO: Spurious interrupt:0x%0x\n\n", int_valid); + pr_debug("CPLD IMR(0x38)=0x%x, BSTAT1(0x28)=0x%x\n", imr, stat); goto out; } |