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 <firstname.lastname@example.org>
Reviewed-by: Andrey Pronin <email@example.com>
1 file changed