[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-arm-kernel
Subject: interrupt from interrupt
From: Thomas Surrel <thomas.surrel () lgm ! fr>
Date: 2005-05-23 7:37:02
Message-ID: 4291881E.9060204 () lgm ! fr
[Download RAW message or body]
Hi,
I'm using a 2.4.27 kernel on a AT91RM9200.
I'm trying to trigger a SPI tranfer when i receive an interrupt on a
port. But i get a "Scheduling in interrupt" error if i do this on the
interrupt routine, or in a tasklet.
I guess the problem is that the SPI transfert uses interrupts itself, as
it calls wait_on_completion() at the start of the transfer, and
complete() in an interrupt routine.
So, what mechanism would allow me to trigger a function involving
interrupts from an interrupt routine ?
Thanks in advance for any help !
Thomas
-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic