aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2024-05-06 13:40:17 +0200
committerGreg Kroah-Hartman <[email protected]>2024-05-10 11:48:33 +0100
commitaae20f6e34cd0cbd67a1d0e5877561c40109a81b (patch)
tree0994f638e147ca290367b94a85d306435b92b62e /drivers/fpga/microchip-spi.c
parent6bd23e0c2bb6c65d4f5754d1456bc9a4427fc59b (diff)
serial: sh-sci: protect invalidating RXDMA on shutdown
The to-be-fixed commit removed locking when invalidating the DMA RX descriptors on shutdown. It overlooked that there is still a rx_timer running which may still access the protected data. So, re-add the locking. Reported-by: Dirk Behme <[email protected]> Closes: https://lore.kernel.org/r/[email protected] Fixes: 2c4ee23530ff ("serial: sh-sci: Postpone DMA release when falling back to PIO") Signed-off-by: Wolfram Sang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions