1
linux/arch/avr32/mach-at32ap
Uwe Kleine-König c7d876321f don't check platform_get_irq's return value against zero
platform_get_irq returns -ENXIO on failure, so !int_irq was probably
always true.  Better use (int)int_irq <= 0.  Note that a return value of
zero is still handled as error even though this could mean irq0.

This is a followup to 305b3228f9 that
changed the return value of platform_get_irq from 0 to -ENXIO on error.

Acked-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2011-04-13 15:46:57 +02:00
..
include/mach serial: fix rs485 for atmel_serial on avr32 2010-07-26 11:59:31 -07:00
at32ap700x.c avr32: at32ap700x: fix typo in DMA master configuration 2011-03-22 15:34:56 -07:00
clock.c avr32: fix deadlock when reading clock list in debugfs 2011-04-13 15:46:52 +02:00
clock.h avr32: Hammerhead board support 2009-01-05 15:52:04 +01:00
cpufreq.c avr32: Scale loops_per_jiffy when cpu frequency changes 2008-10-23 15:18:33 +02:00
extint.c don't check platform_get_irq's return value against zero 2011-04-13 15:46:57 +02:00
hmatrix.c avr32: Clean up HMATRIX code 2008-08-08 12:44:01 +02:00
hsmc.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hsmc.h
intc.c avr: Cleanup genirq namespace 2011-03-24 20:35:55 +01:00
intc.h
Kconfig
Makefile avr32: Clean up HMATRIX code 2008-08-08 12:44:01 +02:00
pdc.c avr32: Use platform_driver_probe for pdc platform driver 2008-09-22 09:51:03 +02:00
pio.c avr32: At32ap: pio fix typo "))" on gpio_irq_unmask prototype 2011-04-13 15:46:45 +02:00
pio.h avr32: Fix typo of IFSR in a comment in the PIO header file 2008-07-04 09:48:05 +02:00
pm-at32ap700x.S avr32: Fix .size directive for cpu_enter_idle 2011-04-13 15:46:49 +02:00
pm.c suspend: constify platform_suspend_ops 2010-11-16 14:14:02 +01:00
pm.h avr32: Add MMIO address definitions for certain controllers 2008-08-08 12:42:14 +02:00
sdramc.h avr32: Power Management support ("standby" and "mem" modes) 2008-07-02 11:05:01 +02:00