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

Shivam Chaudhary posted 1 patch 2 weeks, 3 days ago
drivers/tty/serial/atmel_serial.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2] tty: atmel_serial: Fix typo retreives to retrieves
Posted by Shivam Chaudhary 2 weeks, 3 days ago
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);
 
-- 
2.34.1
Re: [PATCH v2] tty: atmel_serial: Fix typo retreives to retrieves
Posted by Richard GENOUD 2 weeks, 3 days ago
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!