Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i2c: designware: Fix spelling typos in the comments

Fix spelling typos in the comments with help of `codespell`.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

authored by

Andy Shevchenko and committed by
Wolfram Sang
24d3fdc8 d816f216

+8 -8
+1 -1
drivers/i2c/busses/i2c-designware-baytrail.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Intel BayTrail PMIC I2C bus semaphore implementaion 3 + * Intel BayTrail PMIC I2C bus semaphore implementation 4 4 * Copyright (c) 2014, Intel Corporation. 5 5 */ 6 6 #include <linux/device.h>
+4 -4
drivers/i2c/busses/i2c-designware-common.c
··· 102 102 i2c_dw_release_lock(dev); 103 103 104 104 if (reg == swab32(DW_IC_COMP_TYPE_VALUE)) { 105 - /* Configure register endianess access */ 105 + /* Configure register endianness access */ 106 106 dev->flags |= ACCESS_SWAP; 107 107 } else if (reg == (DW_IC_COMP_TYPE_VALUE & 0x0000ffff)) { 108 108 /* Configure register access mode 16bit */ ··· 190 190 191 191 /* 192 192 * 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 194 194 * SCL by enabling non-zero SDA RX hold. Specification says it 195 195 * 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. 197 197 */ 198 198 if (!(dev->sda_hold_time & DW_IC_SDA_HOLD_RX_MASK)) 199 199 dev->sda_hold_time |= 1 << DW_IC_SDA_HOLD_RX_SHIFT; ··· 378 378 /* Disable controller */ 379 379 __i2c_dw_disable(dev); 380 380 381 - /* Disable all interupts */ 381 + /* Disable all interrupts */ 382 382 dw_writel(dev, 0, DW_IC_INTR_MASK); 383 383 dw_readl(dev, DW_IC_CLR_INTR); 384 384 }
+1 -1
drivers/i2c/busses/i2c-designware-master.c
··· 521 521 522 522 /* 523 523 * 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 525 525 * in the IC_RAW_INTR_STAT register. 526 526 * 527 527 * That is,
+1 -1
drivers/i2c/busses/i2c-designware-pcidrv.c
··· 109 109 static int mrfld_setup(struct pci_dev *pdev, struct dw_pci_controller *c) 110 110 { 111 111 /* 112 - * On Intel Merrifield the user visible i2c busses are enumerated 112 + * On Intel Merrifield the user visible i2c buses are enumerated 113 113 * [1..7]. So, we add 1 to shift the default range. Besides that the 114 114 * first PCI slot provides 4 functions, that's why we have to add 0 to 115 115 * the first slot and 4 to the next one.
+1 -1
drivers/i2c/busses/i2c-designware-slave.c
··· 107 107 108 108 /* 109 109 * 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 111 111 * in the IC_RAW_INTR_STAT register. 112 112 * 113 113 * That is,