summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-fsi.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-06-27 15:15:37 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-27 15:15:37 -0700
commit8bf9865187f6c3130b5c748a3212d591c9d563de (patch)
tree6f3cd2a376292c28ca367c7c146d8432c945ff30 /drivers/i2c/busses/i2c-fsi.c
parent42afe7d1c6ef77212250af3459e549d1a944cc8a (diff)
parent40e05200593af06633f64ab0effff052eee6f076 (diff)
Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c fixes from Wolfram Sang: "This contains a 5.8 regression fix for the Designware driver, a register bitfield fix for the fsi driver, and a missing sanity check for the I2C core" * 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: i2c: core: check returned size of emulated smbus block read i2c: fsi: Fix the port number field in status register i2c: designware: Adjust bus speed independently of ACPI
Diffstat (limited to 'drivers/i2c/busses/i2c-fsi.c')
-rw-r--r--drivers/i2c/busses/i2c-fsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-fsi.c b/drivers/i2c/busses/i2c-fsi.c
index e0c256922d4f..977d6f524649 100644
--- a/drivers/i2c/busses/i2c-fsi.c
+++ b/drivers/i2c/busses/i2c-fsi.c
@@ -98,7 +98,7 @@
#define I2C_STAT_DAT_REQ BIT(25)
#define I2C_STAT_CMD_COMP BIT(24)
#define I2C_STAT_STOP_ERR BIT(23)
-#define I2C_STAT_MAX_PORT GENMASK(19, 16)
+#define I2C_STAT_MAX_PORT GENMASK(22, 16)
#define I2C_STAT_ANY_INT BIT(15)
#define I2C_STAT_SCL_IN BIT(11)
#define I2C_STAT_SDA_IN BIT(10)