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.

BUG=chromium:764046
TEST=Load system and observe lack of logging noise

Change-Id: I383961c6cf0437b06f87e53ed70390fcfa2f90d2
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/660692
Reviewed-by: Andrey Pronin <apronin@chromium.org>
1 file changed