Re: [PATCH v2 RESEND] i2c: tegra: check msg length in SMBUS block read

Wolfram Sang
2025-04-29T05:41:48Z

[-- Attachment #1: Type: text/plain, Size: 351 bytes --]

Hi Akhil,

> Yes. We have had issues where the client device sends '0' as length if the

Can you reveal which client that is?

> transfer is terminated abruptly at the client's side. The actual fix is in the client's
> driver, but this check here would ensure that the master does not run into
> trouble either.

Correct.

Happy hacking!

Wolfram

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]