On Tue, Jan 03, 2017 at 06:20:14PM +0100, Hauke Mehrtens wrote: > This callback allows a driver to return the status of the SPI transfer > which was asynchronously scheduled by transfer_one(). > > 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. There's already an interface for that - set the status in the message before notifying completion. > In the Lantiq driver I want to use this to circumvent a strange > hardware design in addition. That's a separate thing...
Attachment:
signature.asc
Description: PGP signature