diff options
author | Asmaa Mnebhi <[email protected]> | 2022-09-08 13:35:38 -0400 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2022-09-17 20:11:21 +0200 |
commit | 2a5be6d1340c0fefcee8a6489cff7fd88a0d5b85 (patch) | |
tree | a81ef4d65beeee1cba035d46ddfc5c342004a4d7 /tools/perf/util/trace-event-scripting.c | |
parent | 9d55e7b0bdf9480a57b4fe87134e749cb18e281a (diff) |
i2c: mlxbf: incorrect base address passed during io write
Correct the base address used during io write.
This bug had no impact over the overall functionality of the read and write
transactions. MLXBF_I2C_CAUSE_OR_CLEAR=0x18 so writing to (smbus->io + 0x18)
instead of (mst_cause->ioi + 0x18) actually writes to the sc_low_timeout
register which just sets the timeout value before a read/write aborts.
Fixes: b5b5b32081cd206b (i2c: mlxbf: I2C SMBus driver for Mellanox BlueField SoC)
Reviewed-by: Khalil Blaiech <[email protected]>
Signed-off-by: Asmaa Mnebhi <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions