Open paolovolpi opened 1 year ago
In complex environments, we cannot do SPI transfers from the interrupt handler because semaphores are probably used to lock the SPI bus. We need to use a Work queue as done for example in the enc28j60 driver (/drivers/net/enc28j60.c)
Hi @paolovolpi good finding! Could you please contribute a patch to fix it? @vbenso it could also be related to issue you was facing!
In complex environments, we cannot do SPI transfers from the interrupt handler because semaphores are probably used to lock the SPI bus. We need to use a Work queue as done for example in the enc28j60 driver (/drivers/net/enc28j60.c)