Skip to content

Commit 502035e

Browse files
Eddie Jameswsakernel
Eddie James
authored andcommitted
i2c: fsi: Fix the port number field in status register
The port number field in the status register was not correct, so fix it. Fixes: d6ffb63 ("i2c: Add FSI-attached I2C master algorithm") Signed-off-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Wolfram Sang <wsa@kernel.org>
1 parent 852f719 commit 502035e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/busses/i2c-fsi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
#define I2C_STAT_DAT_REQ BIT(25)
9999
#define I2C_STAT_CMD_COMP BIT(24)
100100
#define I2C_STAT_STOP_ERR BIT(23)
101-
#define I2C_STAT_MAX_PORT GENMASK(19, 16)
101+
#define I2C_STAT_MAX_PORT GENMASK(22, 16)
102102
#define I2C_STAT_ANY_INT BIT(15)
103103
#define I2C_STAT_SCL_IN BIT(11)
104104
#define I2C_STAT_SDA_IN BIT(10)

0 commit comments

Comments
 (0)