]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
spi: atmel: Fix incorrect error path
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 10 Sep 2013 11:36:26 +0000 (17:06 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 7 Oct 2013 11:36:01 +0000 (12:36 +0100)
commitde8cc234a517b61c9a8450a34408dbae53aa171f
treee7ea3d1916a53fe131e8b3b1e5368a91c8e3c03f
parentd0e639c9e06d44e713170031fe05fb60ebe680af
spi: atmel: Fix incorrect error path

'irq' was not released when clk_prepare_enable failed.
Fix it.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-atmel.c