mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
i2c: highlander: reword according to newest specification
Change the wording of this driver wrt. the newest I2C v7 and SMBus 3.2 specifications and replace "master/slave" with more appropriate terms. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Andi Shyti <andi.shyti@kernel.org> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
This commit is contained in:
parent
9557d1264d
commit
5c9c9bff68
@ -331,7 +331,7 @@ static int highlander_i2c_smbus_xfer(struct i2c_adapter *adap, u16 addr,
|
||||
/* Ensure we're in a sane state */
|
||||
highlander_i2c_done(dev);
|
||||
|
||||
/* Set slave address */
|
||||
/* Set target address */
|
||||
iowrite16((addr << 1) | read_write, dev->base + SMSMADR);
|
||||
|
||||
highlander_i2c_command(dev, command, dev->buf_len);
|
||||
|
Loading…
Reference in New Issue
Block a user