Commit 8efc4405 authored by Wolfram Sang's avatar Wolfram Sang Committed by Greg Kroah-Hartman
Browse files

serial: sh-sci: describe locking requirements for invalidating RXDMA



Make sure everyone knows that calling this function needs protection.

Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20240506114016.30498-8-wsa+renesas@sang-engineering.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aae20f6e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1257,6 +1257,7 @@ static int sci_dma_rx_find_active(struct sci_port *s)
	return -1;
}

/* Must only be called with uart_port_lock taken */
static void sci_dma_rx_chan_invalidate(struct sci_port *s)
{
	unsigned int i;