Skip to content

Commit b4567fa

Browse files
ndrs-pstfabiobaltieri
authored andcommitted
drivers: serial: correct spelling
Employ a code spell checking tool to scan and correct spelling errors in all files within the drivers/serial directory. Signed-off-by: Pisit Sawangvonganan <[email protected]>
1 parent 6a50bbd commit b4567fa

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

drivers/serial/Kconfig.emul

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ config UART_EMUL_WORK_Q_STACK_SIZE
2020
default 2048
2121

2222
config UART_EMUL_WORK_Q_PRIORITY
23-
int "UART emulator work queue tread priority"
23+
int "UART emulator work queue thread priority"
2424
default 1
2525

2626
endif # UART_EMUL

drivers/serial/uart_cdns.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ struct uart_cdns_regs {
122122
volatile uint32_t flow_ctrl_delay; /* Flow Control Delay Register */
123123
volatile uint32_t rpwr; /* IR Minimum Received Pulse Register */
124124
volatile uint32_t tpwr; /* IR TRansmitted Pulse Width Register */
125-
volatile uint32_t tx_fifo_trigger_level; /* Transmiter FIFO trigger level */
125+
volatile uint32_t tx_fifo_trigger_level; /* Transmitter FIFO trigger level */
126126
volatile uint32_t rbrs; /* RX FIFO Byte Status Register */
127127
};
128128

drivers/serial/uart_esp32.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ static int uart_esp32_async_tx_abort(const struct device *dev)
603603

604604
err = dma_stop(config->dma_dev, config->tx_dma_channel);
605605
if (err) {
606-
LOG_ERR("Error stoping Tx DMA (%d)", err);
606+
LOG_ERR("Error stopping Tx DMA (%d)", err);
607607
goto unlock;
608608
}
609609

@@ -838,7 +838,7 @@ static int uart_esp32_async_rx_disable(const struct device *dev)
838838

839839
err = dma_stop(config->dma_dev, config->rx_dma_channel);
840840
if (err) {
841-
LOG_ERR("Error stoping Rx DMA (%d)", err);
841+
LOG_ERR("Error stopping Rx DMA (%d)", err);
842842
goto unlock;
843843
}
844844

drivers/serial/uart_hostlink.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ static void hl_static_send(size_t payload_used)
254254
* It is responsibility of debugger to set this back to HL_NOADDRESS
255255
* after receiving the packet.
256256
* Please note that we don't wait here because some implementations
257-
* use hl_blockedPeek() function as a signal that we send a messege.
257+
* use hl_blockedPeek() function as a signal that we send a message.
258258
*/
259259
hl_write32(&__HOSTLINK__.hdr.target2host_addr, buf_addr);
260260

drivers/serial/uart_ql_usbserialport_s3b.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
#define USBSERIAL_TX_FIFO_16_TO_31 (0x0B) /* 1011 Room for 16 to 31 */
3535
#define USBSERIAL_TX_FIFO_8_TO_15 (0x0C) /* 1100 Room for 8 to 15 */
3636
#define USBSERIAL_TX_FIFO_4_TO_7 (0x0D) /* 1101 Room for 4 to 7 */
37-
#define USBSERIAL_TX_FIFO_GE_2 (0x0E) /* 1110 Room for atleast 2 */
38-
#define USBSERIAL_TX_FIFO_GE_1 (0x0F) /* 1111 Room for atleast 1 */
37+
#define USBSERIAL_TX_FIFO_GE_2 (0x0E) /* 1110 Room for at least 2 */
38+
#define USBSERIAL_TX_FIFO_GE_1 (0x0F) /* 1111 Room for at least 1 */
3939

4040
struct fpga_usbserial_regs {
4141
uint32_t device_id;

drivers/serial/uart_rzt2m.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ static int rzt2m_uart_init(const struct device *dev)
376376
config->irq_config_func(dev);
377377
#endif /* CONFIG_UART_INTERRUPT_DRIVEN */
378378

379-
/* Start trasmitter and receiver. */
379+
/* Start transmitter and receiver. */
380380
*CCR0(config->base) |= (CCR0_MASK_TE | CCR0_MASK_RE);
381381
while (!(*CCR0(config->base) & CCR0_MASK_RE)) {
382382
}

drivers/serial/uart_sedi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ struct uart_sedi_config_info {
9292
/* Specifies the baudrate for the uart instance. */
9393
uint32_t baud_rate;
9494

95-
/* Specifies the port line contorl settings */
95+
/* Specifies the port line control settings */
9696
sedi_uart_lc_t line_ctrl;
9797

9898
struct k_mutex *mutex;

drivers/serial/uart_stm32.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ static int uart_stm32_configure(const struct device *dev,
567567

568568
LL_USART_Disable(config->usart);
569569

570-
/* Set basic parmeters, such as data-/stop-bit, parity, and baudrate */
570+
/* Set basic parameters, such as data-/stop-bit, parity, and baudrate */
571571
uart_stm32_parameters_set(dev, cfg);
572572

573573
LL_USART_Enable(config->usart);
@@ -1913,7 +1913,7 @@ static int uart_stm32_registers_configure(const struct device *dev)
19131913
LL_USART_SetTransferDirection(config->usart,
19141914
LL_USART_DIRECTION_TX_RX);
19151915

1916-
/* Set basic parmeters, such as data-/stop-bit, parity, and baudrate */
1916+
/* Set basic parameters, such as data-/stop-bit, parity, and baudrate */
19171917
uart_stm32_parameters_set(dev, uart_cfg);
19181918

19191919
/* Enable the single wire / half-duplex mode */

0 commit comments

Comments
 (0)