]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Blackfin arch: add error message when IRQ no available
authorMichael Hennerich <michael.hennerich@analog.com>
Tue, 24 Jul 2007 08:17:28 +0000 (16:17 +0800)
committerBryan Wu <bryan.wu@analog.com>
Tue, 24 Jul 2007 08:17:28 +0000 (16:17 +0800)
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/mach-common/ints-priority-sc.c

index 3f6305d1a1af9c8f0f527a8929762a6da351ab97..4708023fe716e2c11d1f63d369c33b8870393177 100644 (file)
@@ -579,8 +579,12 @@ static unsigned int bfin_gpio_irq_startup(unsigned int irq)
        u16 gpionr = irq - IRQ_PA0;
        u8 pint_val = irq2pint_lut[irq - SYS_IRQS];
 
-       if (pint_val == IRQ_NOT_AVAIL)
+       if (pint_val == IRQ_NOT_AVAIL) {
+               printk(KERN_ERR
+               "GPIO IRQ %d :Not in PINT Assign table "
+               "Reconfigure Interrupt to Port Assignemt\n", irq);
                return -ENODEV;
+       }
 
        if (!(gpio_enabled[gpio_bank(gpionr)] & gpio_bit(gpionr))) {
                ret = gpio_request(gpionr, NULL);