1
linux/arch/avr32/mach-at32ap
Hans-Christian Egtvedt cbf8de1620 avr32: clean up memory allocation in at32_add_device_mci
This patch will check if the kzalloc for the MCI DMA struct actually
returns a valid address, and also clean up properly if it fails or the
function fails at a later stage.

This also silences a compiler warning about using the slave variable
uninitialized.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
2009-12-28 12:33:00 +01:00
..
include/mach Merge git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6 2009-12-15 09:01:00 -08:00
at32ap700x.c avr32: clean up memory allocation in at32_add_device_mci 2009-12-28 12:33:00 +01:00
clock.c avr: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-05 10:29:35 +01: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 genirq: fix name space collisions of nr_irqs in arch/* 2008-10-16 16:53:30 +02:00
hmatrix.c avr32: Clean up HMATRIX code 2008-08-08 12:44:01 +02:00
hsmc.c avr32: Use <mach/foo.h> instead of <asm/arch/foo.h> 2008-08-05 14:36:57 +02:00
hsmc.h
intc.c
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: Allow reserving multiple pins at once 2009-01-05 12:16:13 +01:00
pio.h
pm-at32ap700x.S avr32: pm_standby low-power ram bug fix 2008-09-01 13:04:09 +02:00
pm.c avr32: Add MMIO address definitions for certain controllers 2008-08-08 12:42:14 +02:00
pm.h avr32: Add MMIO address definitions for certain controllers 2008-08-08 12:42:14 +02:00
sdramc.h