diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-01-07 17:23:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-16 13:23:33 +0200 |
commit | 82b6263b330a2b94a0b1d5c5d5543db7e24340ec (patch) | |
tree | aeb5b044e5e1e52c844c435501ae206413b182ab /net/unix/garbage.c | |
parent | bc14bb3ef307947fc3110bca8a34a85a63300b6c (diff) |
serial: sh-sci: Extract sci_dma_rx_chan_invalidate()
[ Upstream commit 11b3770d54b28dcd905155a6d4aa551187ff00eb ]
The cookies and channel pointer for the DMA receive channel are
invalidated in two places, and one more is planned.
Extract this functionality in a common helper.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: aae20f6e34cd ("serial: sh-sci: protect invalidating RXDMA on shutdown")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions