Hi!
From: Lino Sanfilippo l.sanfilippo@kunbus.com
With commit 858e8b792d06 ("tpm, tpm_tis: Avoid cache incoherency in test for interrupts") bit accessor functions are used to access flags in tpm_tis_data->flags.
However these functions expect bit numbers, while the flags are defined as bit masks in enum tpm_tis_flag.
Fix this inconsistency by using numbers instead of masks also for the flags in the enum.
Reviewed-by: Pavel Machek pavel@denx.de
Thank you!
Best regards, Pavel