[PATCH 44/64] i2c: qup: reword according to newest specification

Wolfram Sang
2024-03-22T13:27:15Z

drivers/i2c/busses/i2c-qup.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c
index 598102d16677..2aeb5c33a711 100644
--- a/drivers/i2c/busses/i2c-qup.c
+++ b/drivers/i2c/busses/i2c-qup.c
@@ -380,7 +380,7 @@ static int qup_i2c_poll_state_mask(struct qup_i2c_dev *qup,
u32 state;

/*
- * State transition takes 3 AHB clocks cycles + 3 I2C master clock
+ * State transition takes 3 AHB clocks cycles + 3 I2C host clock
* cycles. So retry once after a 1uS delay.
*/
do {
@@ -1607,12 +1607,12 @@ static u32 qup_i2c_func(struct i2c_adapter *adap)
}

static const struct i2c_algorithm qup_i2c_algo = {
- .master_xfer = qup_i2c_xfer,
+ .xfer = qup_i2c_xfer,
.functionality = qup_i2c_func,
};

static const struct i2c_algorithm qup_i2c_algo_v2 = {
- .master_xfer = qup_i2c_xfer_v2,
+ .xfer = qup_i2c_xfer_v2,
.functionality = qup_i2c_func,
};

--
2.43.0