diff options
author | Dan Sneddon <dan.sneddon@microchip.com> | 2021-06-02 09:08:15 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-06-03 14:05:00 +0100 |
commit | 4abd641501663493764949f045ebf9f8c0da0307 (patch) | |
tree | 1a47ad646ffe4e05ca2919ae97aabf6e382a858a /drivers/spi/Makefile | |
parent | 5fa5e6dec762305a783e918a90a05369fc10e346 (diff) |
spi: atmel: Reduce spin lock usage
The current implementation of the driver holds a spin lock for the
duration of the transfer, releasing it only to enable interrupts for
short periods of time. As this would prevent any interrupt from
happening, this could cause system performance issues every time a SPI
message is sent. Since the spi core now handles message syncronization
we can reduce the amount of time the spin-lock is held to the regions
where both the calling thread and the interrupt might interract.
Signed-off-by: Dan Sneddon <dan.sneddon@microchip.com>
Link: https://lore.kernel.org/r/20210602160816.4890-2-dan.sneddon@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Makefile')
0 files changed, 0 insertions, 0 deletions