everywhere: fix typos
Fix a lot of typos Signed-off-by: Nazar Kazakov <nazar.kazakov.work@gmail.com>
This commit is contained in:
parent
210ed711a3
commit
9713f0d47c
331 changed files with 478 additions and 478 deletions
|
@ -1,4 +1,4 @@
|
|||
# Reneas R-Car Gen3 I2C configuration options
|
||||
# Renesas R-Car Gen3 I2C configuration options
|
||||
|
||||
# Copyright (c) 2021 IoT.bzh
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
|
|
@ -143,7 +143,7 @@ struct i2c_ctrl_data {
|
|||
struct i2c_msg *msg; /* cache msg for transaction state machine */
|
||||
int is_write; /* direction of current msg */
|
||||
uint8_t *ptr_msg; /* current msg pointer for FIFO read/write */
|
||||
uint16_t addr; /* slave address of transcation */
|
||||
uint16_t addr; /* slave address of transaction */
|
||||
uint8_t port; /* current port used the controller */
|
||||
bool is_configured; /* is port configured? */
|
||||
const struct npcx_i2c_timing_cfg *ptr_speed_confs;
|
||||
|
@ -921,7 +921,7 @@ static int i2c_ctrl_init(const struct device *dev)
|
|||
/* Initialize i2c module */
|
||||
i2c_ctrl_init_module(dev);
|
||||
|
||||
/* initialize mutux and semaphore for i2c/smb controller */
|
||||
/* initialize mutex and semaphore for i2c/smb controller */
|
||||
k_sem_init(&data->lock_sem, 1, 1);
|
||||
k_sem_init(&data->sync_sem, 0, K_SEM_MAX_LIMIT);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue