Re: [PATCH v3 2/6] spi: Deal with slaves that return from transfer_one() unfinished

2018-11-13 Thread Geert Uytterhoeven
On Tue, Nov 13, 2018 at 11:23 AM 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

Re: [PATCH v3 2/6] spi: Deal with slaves that return from transfer_one() unfinished

2018-11-13 Thread Geert Uytterhoeven
On Tue, Nov 13, 2018 at 11:23 AM 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

[PATCH v3 2/6] spi: Deal with slaves that return from transfer_one() unfinished

2018-11-13 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

[PATCH v3 2/6] spi: Deal with slaves that return from transfer_one() unfinished

2018-11-13 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