summaryrefslogtreecommitdiff
path: root/lib/smp_processor_id.c
diff options
context:
space:
mode:
authorAkhil R <akhilrajeev@nvidia.com>2023-04-27 15:39:14 +0300
committerWolfram Sang <wsa@kernel.org>2023-04-30 08:49:06 +0300
commit9f855779a3874eee70e9f6be57b5f7774f14e510 (patch)
treee7add429b7369a3ec28768ab5b3177d95634803d /lib/smp_processor_id.c
parent825a0714d2b3883d4f8ff64f6933fb73ee3f1834 (diff)
downloadlinux-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/smp_processor_id.c')
0 files changed, 0 insertions, 0 deletions