Prabhaharan R-TLS,Chennai spiffera, alle Wednesday 25 February 2009 circa: > And in the ISR, I am doing the SPI read/write. During this SPI > write/read, the Kernel gets panic. If I make the SPI read/write in the > normal function other than ISR, there is no issue. It is working fine. > The issue occurs only when we make a call from ISR.
You simply can't do this. ISR are atomic contexts, and you shouldn't do anything that could block and/or raise a schedule(). Use tasklets, workqueues or any other asyncronous method to got your message transferred by SPI. bye! -- Andrea Gasparini ---- ImaVis S.r.l. ---- web: www.imavis.com _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
