diff options
author | Akhil R <[email protected]> | 2023-04-27 18:09:14 +0530 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2023-04-30 07:49:06 +0200 |
commit | 9f855779a3874eee70e9f6be57b5f7774f14e510 (patch) | |
tree | e7add429b7369a3ec28768ab5b3177d95634803d /lib/mpi/mpi-mod.c | |
parent | 825a0714d2b3883d4f8ff64f6933fb73ee3f1834 (diff) |
i2c: tegra: Fix PEC support for SMBUS block read
Update the msg->len value correctly for SMBUS block read. The discrepancy
went unnoticed as msg->len is used in SMBUS transfers only when a PEC
byte is added.
Fixes: d7583c8a5748 ("i2c: tegra: Add SMBus block read function")
Signed-off-by: Akhil R <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions