On 4/25/21 7:47 PM, Lino Sanfilippo wrote:
Interrupt handling at least includes reading and writing the interrupt status register from the interrupt routine. However over SPI those accesses require a sleepable context, since a mutex is used in the concerning functions. For this reason request a threaded interrupt handler which is running in (sleepable) process context. Signed-off-by: Lino Sanfilippo <LinoSanfilippo@xxxxxx>
Reviewed-by: Stefan Berger <stefanb@xxxxxxxxxxxxx>