[PATCH linux dev-5.4 1/2] i2c: fsi: Fix the port number field in status register

Joel Stanley joel at jms.id.au
Tue Jun 2 11:36:15 AEST 2020


On Tue, 19 May 2020 at 19:39, Eddie James <eajames at linux.ibm.com> wrote:
>
> The port number field in the status register was not correct, so fix it.
>
> Signed-off-by: Eddie James <eajames at linux.ibm.com>

Merged into dev-5.4.

Can you please send this upstream with a fixes tag?

Cheers,

Joel

> ---
>  drivers/i2c/busses/i2c-fsi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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)
> --
> 2.24.0
>


More information about the openbmc mailing list