Skip to content

Commit

Permalink
Merge pull request #311 from solbjorn/6.0-xanmod-nct6775-fallthrough
Browse files Browse the repository at this point in the history
i2c: i2c-nct6775: fix -Wimplicit-fallthrough
  • Loading branch information
xanmod committed Oct 12, 2022
2 parents ee134f7 + e5787b8 commit 8736b23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/i2c/busses/i2c-nct6775.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ static s32 nct6775_access(struct i2c_adapter * adap, u16 addr,
break;
case I2C_SMBUS_BYTE_DATA:
tmp_data.byte = data->byte;
fallthrough;
case I2C_SMBUS_BYTE:
outb_p((addr << 1) | read_write,
SMBHSTADD);
Expand Down

0 comments on commit 8736b23

Please sign in to comment.