summaryrefslogtreecommitdiffstats
path: root/drivers/ptp
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2021-12-15 12:01:14 +0100
committerVinod Koul <vkoul@kernel.org>2022-01-05 11:20:04 +0100
commita61210cae80cac0701d5aca9551466a389717fd2 (patch)
tree03d7539f5444b57ae60bcecea8be34f44508e7d4 /drivers/ptp
parentdmaengine: at_xdmac: Fix at_xdmac_lld struct definition (diff)
downloadlinux-a61210cae80cac0701d5aca9551466a389717fd2.tar.xz
linux-a61210cae80cac0701d5aca9551466a389717fd2.zip
dmaengine: at_xdmac: Remove a level of indentation in at_xdmac_tasklet()
Apart of making the code easier to read, this patch is a prerequisite for a functional change: tasklets run with interrupts enabled, so we need to protect atchan->irq_status with spin_lock_irq() otherwise the tasklet can be interrupted by the IRQ that modifies irq_status. atchan->irq_status will be protected in a further patch. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Link: https://lore.kernel.org/r/20211215110115.191749-12-tudor.ambarus@microchip.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions