Re: [PATCH 07/11] spi: Deal with slaves that return from transfer_one() unfinished

2018-11-04 Thread Pavel Machek
On Wed 2018-10-10 19:09:32, Lubomir Rintel wrote: > Some drivers, such as spi-pxa2xx return from the transfer_one callback > immediately, idicating that the transfer will be finished asynchronously. > > Normally, spi_transfer_one_message() synchronously waits for the > transfer to finish with wait

Re: [PATCH 07/11] spi: Deal with slaves that return from transfer_one() unfinished

2018-10-11 Thread Geert Uytterhoeven
Hi Lubomir, On Wed, Oct 10, 2018 at 7:10 PM Lubomir Rintel wrote: > Some drivers, such as spi-pxa2xx return from the transfer_one callback > immediately, idicating that the transfer will be finished asynchronously. > > Normally, spi_transfer_one_message() synchronously waits for the > transfer to

[PATCH 07/11] spi: Deal with slaves that return from transfer_one() unfinished

2018-10-10 Thread Lubomir Rintel
Some drivers, such as spi-pxa2xx return from the transfer_one callback immediately, idicating that the transfer will be finished asynchronously. Normally, spi_transfer_one_message() synchronously waits for the transfer to finish with wait_for_completion_timeout(). For slaves, we don't want the tra