cbf8de1620
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> |
||
---|---|---|
.. | ||
include/mach | ||
Kconfig | ||
Makefile | ||
at32ap700x.c | ||
clock.c | ||
clock.h | ||
cpufreq.c | ||
extint.c | ||
hmatrix.c | ||
hsmc.c | ||
hsmc.h | ||
intc.c | ||
intc.h | ||
pdc.c | ||
pio.c | ||
pio.h | ||
pm-at32ap700x.S | ||
pm.c | ||
pm.h | ||
sdramc.h |