Hi,

El 30/03/17 a las 23:48, Vinicius Maciel escribió:
> Hi,
> 
> I'm calling spi_sync_transfer inside a threaded interrupt function and
> makes kernel crash. 
> Threaded interrupt functions are supposed can sleep. Could be a problem
> on sun4i_spi_transfer_one
> when call wait_for_completion_timeout?
> 
> kernel log: https://pastebin.com/RNAdGTHE

It's hard to say without looking at the code, is this max11043 driver
published somewhere? Is max11043_interrupt() the threaded part of the
interrupt handler? spi_sync_transfer() can sleep so you can't use it
inside the non-threaded part.

Cheers,
Emilio

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to