Skip to contentSkip to conversation

tty: atmel_serial: Fix typo retreives to retrieves

PATCH In review Shivam Chaudhary 2 participants 2 messages Nov 6, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 tty: atmel_serial: Fix typo retreives to retrieves

Fix typo 'retreives' to 'retrieves' in atmel_serial.c file.

---

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

v1: https://lore.kernel.org/all/[email protected]/

 drivers/tty/serial/atmel_serial.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/atmel_serial.c +1 -1
index 09b246c9e389..bb1978db6939 100644
@@ -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);
 
Signature · 1 line
2.34.1
maintainer Acked-by on v2 1/1
#1 lore raw

Le 06/11/2024 à 15:27, Shivam Chaudhary a écrit :

Quoted 20 lines

Fix typo 'retreives' to 'retrieves' in atmel_serial.c file.

---

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

v1: https://lore.kernel.org/all/[email protected]/

  drivers/tty/serial/atmel_serial.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/atmel_serial.c +0 -0
index 09b246c9e389..bb1978db6939 100644

drivers/tty/serial/atmel_serial.c static void atmel_rx_from_dma(struct uart_port *port) · line 1172

Quoted 8 lines
drivers/tty/serial/atmel_serial.c +1 -1
@@ -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);
 

Thanks!