aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/amba-pl022.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-03-24 20:18:35 -0400
committerMike Frysinger <vapier@gentoo.org>2010-10-18 02:49:28 -0400
commitac01e97d644da8e947ffa1bde5083290fe2e36e7 (patch)
treec2a97d4c239afb65376dbaa81aca7610b0883369 /drivers/spi/amba-pl022.c
parent2b666ca4a68cbc22483b0f2e1ba3c0e59b01ae9e (diff)
spi/bfin_spi: fix resources leakage
Re-order setup() a bit so we don't leak memory/dma/gpio resources upon errors. Also make sure we don't call kfree() twice on the same object. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Yi Li <yi.li@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/spi/amba-pl022.c')
0 files changed, 0 insertions, 0 deletions