From: Alexander Aring Date: Tue, 7 Oct 2014 08:38:32 +0000 (+0200) Subject: at86rf230: fix enable_irq handling on async spi X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~234^2~3^2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97fed795e70d97fb89ebd8c3efc30b33aa4ac1fa;p=pandora-kernel.git at86rf230: fix enable_irq handling on async spi Sometimes the async state function is call in an context where the spi irq is diabled. This patch fix the handling to enable the irq when spi_async failed in the async state change calling chain. We do this by a context parameter irq_enable and evaluate this parameter when spi_async failed instead of returning spi_async errno. Signed-off-by: Alexander Aring Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed