diff mbox series

[v2] tty: atmel_serial: Fix typo retreives to retrieves

Message ID 20241106142720.41351-1-cvam0000@gmail.com (mailing list archive)
State New
Headers show
Series [v2] tty: atmel_serial: Fix typo retreives to retrieves | expand

Commit Message

Shivam Chaudhary Nov. 6, 2024, 2:27 p.m. UTC
Fix typo 'retreives' to 'retrieves' in atmel_serial.c file.

Signed-off-by: Shivam Chaudhary <cvam0000@gmail.com>
---

v1->v2
 - Improve subject line.
 - Improve commit message.

v1: https://lore.kernel.org/all/20241024172300.968015-1-cvam0000@gmail.com/


 drivers/tty/serial/atmel_serial.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Richard GENOUD Nov. 6, 2024, 3:12 p.m. UTC | #1
Le 06/11/2024 à 15:27, Shivam Chaudhary a écrit :
> Fix typo 'retreives' to 'retrieves' in atmel_serial.c file.
> 
> Signed-off-by: Shivam Chaudhary <cvam0000@gmail.com>
> ---
> 
> v1->v2
>   - Improve subject line.
>   - Improve commit message.
> 
> v1: https://lore.kernel.org/all/20241024172300.968015-1-cvam0000@gmail.com/
> 
> 
>   drivers/tty/serial/atmel_serial.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c
> index 09b246c9e389..bb1978db6939 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);
>   
Acked-by: Richard Genoud <richard.genoud@bootlin.com>

Thanks!
diff mbox series

Patch

diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c
index 09b246c9e389..bb1978db6939 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);