Skip to content

Commit

Permalink
serial: sh-sci: describe locking requirements for invalidating RXDMA
Browse files Browse the repository at this point in the history
Make sure everyone knows that calling this function needs protection.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20240506114016.30498-8-wsa+renesas@sang-engineering.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Wolfram Sang authored and Greg Kroah-Hartman committed May 10, 2024
1 parent aae20f6 commit 8efc440
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/tty/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8efc440

Please sign in to comment.