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>
Tue, 10 Sep 2013 16:52:45 +0000 (17:52 +0100)
commit8fec6f74a62c4e3d6897bc91f2eb08dfbadfe6da
tree0bb615838c5c662d020523f7d944b3cab8d90803
parent578739259875a93b1869d25cdf4a8bd963b7d0a7
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