[PATCH] spi: trigger trace event for message-done before mesg->complete
Mark Brown
broonie at kernel.org
Wed Mar 18 04:36:35 PDT 2015
On Wed, Mar 18, 2015 at 11:27:28AM +0100, Uwe Kleine-König wrote:
> With spidev the mesg->complete callback points to spidev_complete.
> Calling this unblocks spidev_sync and so spidev_sync_write finishes. As
> the struct spi_message just read is a local variable in
> spidev_sync_write and recording the trace event accesses this message
> the recording is better done first. The same can happen for
> spidev_sync_read.
Applied, thanks. I'm a bit suspicious that the changelog talks only
about spidev though...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150318/bc861a72/attachment.sig>
More information about the linux-arm-kernel
mailing list