diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2024-02-02 10:04:06 +0300 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2024-02-08 20:06:46 +0300 |
commit | 29dae4572efb676e4831eee68bc423b9f32c05d0 (patch) | |
tree | 2e7bd3b494a758a662a12772bf995ddabe73368f /drivers/i2c/algos | |
parent | 6ff9d46cd36fbd004b1cd7c9173af5cdfbcd1df1 (diff) | |
download | linux-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/algos')
0 files changed, 0 insertions, 0 deletions