linux-mainline/drivers/char/tpm
Lino Sanfilippo 4ecd704a4c tpm, tpm_tis: correct tpm_tis_flags enumeration values
With commit 858e8b792d ("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.

Reported-by: Pavel Machek <pavel@denx.de>
Fixes: 858e8b792d ("tpm, tpm_tis: Avoid cache incoherency in test for interrupts")
Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
Cc: stable@vger.kernel.org
Reviewed-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2023-06-02 17:35:22 -04:00
..
eventlog
st33zp24
Kconfig
Makefile
tpm1-cmd.c
tpm2-cmd.c
tpm2-space.c
tpm_atmel.c
tpm_atmel.h
tpm_crb.c
tpm_ftpm_tee.c
tpm_ftpm_tee.h
tpm_i2c_atmel.c
tpm_i2c_infineon.c
tpm_i2c_nuvoton.c
tpm_ibmvtpm.c
tpm_ibmvtpm.h
tpm_infineon.c
tpm_nsc.c
tpm_ppi.c
tpm_tis_core.c
tpm_tis_core.h tpm, tpm_tis: correct tpm_tis_flags enumeration values 2023-06-02 17:35:22 -04:00
tpm_tis_i2c_cr50.c
tpm_tis_i2c.c
tpm_tis_spi_cr50.c
tpm_tis_spi_main.c
tpm_tis_spi.h
tpm_tis_synquacer.c
tpm_tis.c tpm: tpm_tis: Disable interrupts for AEON UPX-i11 2023-05-24 02:50:23 +03:00
tpm_vtpm_proxy.c
tpm-chip.c tpm: Prevent hwrng from activating during resume 2023-05-16 02:43:12 +03:00
tpm-dev-common.c
tpm-dev.c
tpm-dev.h
tpm-interface.c tpm: Prevent hwrng from activating during resume 2023-05-16 02:43:12 +03:00
tpm-sysfs.c
tpm.h
tpmrm-dev.c
xen-tpmfront.c