summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorShivam Chaudhary <cvam0000@gmail.com>2024-11-06 15:27:20 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-07 09:45:25 +0100
commit945def49197d0131d037c7bfaec496e864e6f86e (patch)
treec6f88eceb08fc0d548e132397912d852298a1dfc /drivers/tty
parenttty: atmel_serial: Use devm_platform_ioremap_resource() (diff)
downloadlinux-945def49197d0131d037c7bfaec496e864e6f86e.tar.xz
linux-945def49197d0131d037c7bfaec496e864e6f86e.zip
tty: atmel_serial: Fix typo retreives to retrieves
Fix typo 'retreives' to 'retrieves' in atmel_serial.c file. Signed-off-by: Shivam Chaudhary <cvam0000@gmail.com> Acked-by: Richard Genoud <richard.genoud@bootlin.com> Link: https://lore.kernel.org/r/20241106142720.41351-1-cvam0000@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/atmel_serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c
index 6af70c7ddbe5..0cf05ac18993 100644
--- a/drivers/tty/serial/atmel_serial.c
+++ b/drivers/tty/serial/atmel_serial.c
@@ -1166,7 +1166,7 @@ static void atmel_rx_from_dma(struct uart_port *port)
port->icount.rx += count;
}
- /* USART retreives ownership of RX DMA buffer */
+ /* USART retrieves ownership of RX DMA buffer */
dma_sync_single_for_device(port->dev, atmel_port->rx_phys,
ATMEL_SERIAL_RX_SIZE, DMA_FROM_DEVICE);