CHROMIUM: tpm: cr50_i2c: Do not warn on first transfer failure
cr50's i2c transfers fail all the time, clogging the kernel log with
[255631.827084] tpm tpm0: i2c transfer failed (attempt 1/3): -121
Only log the transfer error on subsequent attempts to reduce the noise.
TEST=Load system and observe lack of logging noise
Signed-off-by: Guenter Roeck <email@example.com>
Reviewed-by: Andrey Pronin <firstname.lastname@example.org>
1 file changed