Skip to content
Unverified Commit b68527df authored by Jules Irenge's avatar Jules Irenge Committed by Mark Brown
Browse files

spi: atmel: Add missing annotation for atmel_spi_next_xfer_dma_submit()



Sparse reports a warning at atmel_spi_next_xfer_dma_submit()

warning: context imbalance in atmel_spi_next_xfer_dma_submit()
	- unexpected unlock

The root cause is the missing annotation
	at atmel_spi_next_xfer_dma_submit()

Add the missing __must_hold(&as->lock) annotation

Signed-off-by: default avatarJules Irenge <jbi.octave@gmail.com>
Link: https://lore.kernel.org/r/20200429225723.31258-3-jbi.octave@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6eefaee4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment