diff options
author | Akhil R <akhilrajeev@nvidia.com> | 2023-04-27 15:39:14 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-04-30 08:49:06 +0300 |
commit | 9f855779a3874eee70e9f6be57b5f7774f14e510 (patch) | |
tree | e7add429b7369a3ec28768ab5b3177d95634803d /lib/rhashtable.c | |
parent | 825a0714d2b3883d4f8ff64f6933fb73ee3f1834 (diff) | |
download | linux-9f855779a3874eee70e9f6be57b5f7774f14e510.tar.xz |
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 <akhilrajeev@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'lib/rhashtable.c')
0 files changed, 0 insertions, 0 deletions