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

Change-Id: I383961c6cf0437b06f87e53ed70390fcfa2f90d2
Signed-off-by: Guenter Roeck <>
Reviewed-by: Andrey Pronin <>
1 file changed