On Tue, Jan 03, 2017 at 06:20:14PM +0100, Hauke Mehrtens wrote: > Currently a call to spi_finalize_current_transfer() will mark the > transfer as transferred successfully. To return an error it is only > possible to not call spi_finalize_current_transfer() at all and let > this time out and result in a timeout error. With this callback the > driver gets asked about the status of the last transfer. Errors are returned by setting the status field in the current message. Look at the code in _transfer_one_message(), if the status changes from -EINPROGRESS we'll handle this as an error.
Attachment:
signature.asc
Description: PGP signature