summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/parsers/cmdlinepart.c
diff options
context:
space:
mode:
authorDan Sneddon <dan.sneddon@microchip.com>2021-06-02 18:08:15 +0200
committerMark Brown <broonie@kernel.org>2021-06-03 15:05:00 +0200
commit4abd641501663493764949f045ebf9f8c0da0307 (patch)
tree1a47ad646ffe4e05ca2919ae97aabf6e382a858a /drivers/mtd/parsers/cmdlinepart.c
parentspi: atmel: Switch to transfer_one transfer method (diff)
downloadlinux-4abd641501663493764949f045ebf9f8c0da0307.tar.xz
linux-4abd641501663493764949f045ebf9f8c0da0307.zip
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/mtd/parsers/cmdlinepart.c')
0 files changed, 0 insertions, 0 deletions