diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-10-07 10:38:32 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-10-25 07:56:23 +0200 |
commit | 97fed795e70d97fb89ebd8c3efc30b33aa4ac1fa (patch) | |
tree | 7a8549a6f79f4ae5870445b2edba86982590a218 /crypto/seqiv.c | |
parent | 35e92a8e1b9058a5f7da271a7a60264a4888f4b9 (diff) | |
download | blackbird-op-linux-97fed795e70d97fb89ebd8c3efc30b33aa4ac1fa.tar.gz blackbird-op-linux-97fed795e70d97fb89ebd8c3efc30b33aa4ac1fa.zip |
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 <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'crypto/seqiv.c')
0 files changed, 0 insertions, 0 deletions