Skip to content

Commit 24d3fdc

Browse files
andy-shevWolfram Sang
authored andcommitted
i2c: designware: Fix spelling typos in the comments
Fix spelling typos in the comments with help of `codespell`. Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Jarkko Nikula <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent d816f21 commit 24d3fdc

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

drivers/i2c/busses/i2c-designware-baytrail.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* Intel BayTrail PMIC I2C bus semaphore implementaion
3+
* Intel BayTrail PMIC I2C bus semaphore implementation
44
* Copyright (c) 2014, Intel Corporation.
55
*/
66
#include <linux/device.h>

drivers/i2c/busses/i2c-designware-common.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ int i2c_dw_set_reg_access(struct dw_i2c_dev *dev)
102102
i2c_dw_release_lock(dev);
103103

104104
if (reg == swab32(DW_IC_COMP_TYPE_VALUE)) {
105-
/* Configure register endianess access */
105+
/* Configure register endianness access */
106106
dev->flags |= ACCESS_SWAP;
107107
} else if (reg == (DW_IC_COMP_TYPE_VALUE & 0x0000ffff)) {
108108
/* Configure register access mode 16bit */
@@ -190,10 +190,10 @@ int i2c_dw_set_sda_hold(struct dw_i2c_dev *dev)
190190

191191
/*
192192
* Workaround for avoiding TX arbitration lost in case I2C
193-
* slave pulls SDA down "too quickly" after falling egde of
193+
* slave pulls SDA down "too quickly" after falling edge of
194194
* SCL by enabling non-zero SDA RX hold. Specification says it
195195
* extends incoming SDA low to high transition while SCL is
196-
* high but it apprears to help also above issue.
196+
* high but it appears to help also above issue.
197197
*/
198198
if (!(dev->sda_hold_time & DW_IC_SDA_HOLD_RX_MASK))
199199
dev->sda_hold_time |= 1 << DW_IC_SDA_HOLD_RX_SHIFT;
@@ -378,7 +378,7 @@ void i2c_dw_disable(struct dw_i2c_dev *dev)
378378
/* Disable controller */
379379
__i2c_dw_disable(dev);
380380

381-
/* Disable all interupts */
381+
/* Disable all interrupts */
382382
dw_writel(dev, 0, DW_IC_INTR_MASK);
383383
dw_readl(dev, DW_IC_CLR_INTR);
384384
}

drivers/i2c/busses/i2c-designware-master.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ static u32 i2c_dw_read_clear_intrbits(struct dw_i2c_dev *dev)
521521

522522
/*
523523
* The IC_INTR_STAT register just indicates "enabled" interrupts.
524-
* Ths unmasked raw version of interrupt status bits are available
524+
* The unmasked raw version of interrupt status bits is available
525525
* in the IC_RAW_INTR_STAT register.
526526
*
527527
* That is,

drivers/i2c/busses/i2c-designware-pcidrv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static int mfld_setup(struct pci_dev *pdev, struct dw_pci_controller *c)
109109
static int mrfld_setup(struct pci_dev *pdev, struct dw_pci_controller *c)
110110
{
111111
/*
112-
* On Intel Merrifield the user visible i2c busses are enumerated
112+
* On Intel Merrifield the user visible i2c buses are enumerated
113113
* [1..7]. So, we add 1 to shift the default range. Besides that the
114114
* first PCI slot provides 4 functions, that's why we have to add 0 to
115115
* the first slot and 4 to the next one.

drivers/i2c/busses/i2c-designware-slave.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ static u32 i2c_dw_read_clear_intrbits_slave(struct dw_i2c_dev *dev)
107107

108108
/*
109109
* The IC_INTR_STAT register just indicates "enabled" interrupts.
110-
* Ths unmasked raw version of interrupt status bits are available
110+
* The unmasked raw version of interrupt status bits is available
111111
* in the IC_RAW_INTR_STAT register.
112112
*
113113
* That is,

0 commit comments

Comments
 (0)