diff options
author | Lino Sanfilippo <l.sanfilippo@kunbus.com> | 2022-11-24 14:55:38 +0100 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2023-04-24 16:15:53 +0300 |
commit | e644b2f498d297a928efcb7ff6f900c27f8b788e (patch) | |
tree | ec857a64c508fb5c89a957130f964c5b68eb35d9 /net/unix | |
parent | 548eb516ec0f7a484a23a902835899341164b8ea (diff) |
tpm, tpm_tis: Enable interrupt test
The test for interrupts in tpm_tis_send() is skipped if the flag
TPM_CHIP_FLAG_IRQ is not set. Since the current code never sets the flag
initially the test is never executed.
Fix this by setting the flag in tpm_tis_gen_interrupt() right after
interrupts have been enabled and before the test is executed.
Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
Tested-by: Michael Niewöhner <linux@mniewoehner.de>
Tested-by: Jarkko Sakkinen <jarkko@kernel.org>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions