Skip to content
Commit 9f855779 authored by Akhil R's avatar Akhil R Committed by Wolfram Sang
Browse files

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: d7583c8a ("i2c: tegra: Add SMBus block read function")
Signed-off-by: default avatarAkhil R <akhilrajeev@nvidia.com>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 825a0714
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment