summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-dev.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2024-02-02 10:04:06 +0300
committerAndi Shyti <andi.shyti@kernel.org>2024-02-08 20:06:46 +0300
commit29dae4572efb676e4831eee68bc423b9f32c05d0 (patch)
tree2e7bd3b494a758a662a12772bf995ddabe73368f /drivers/i2c/i2c-dev.c
parent6ff9d46cd36fbd004b1cd7c9173af5cdfbcd1df1 (diff)
downloadlinux-29dae4572efb676e4831eee68bc423b9f32c05d0.tar.xz
i2c: i801: Add SMBUS_LEN_SENTINEL
Add a sentinel length value that is used to check whether we should read and use the length value provided by the slave device. This simplifies the currently used checks. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andi Shyti <andi.shyti@kernel.org> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'drivers/i2c/i2c-dev.c')
0 files changed, 0 insertions, 0 deletions