aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLino Sanfilippo <[email protected]>2022-11-24 14:55:27 +0100
committerJarkko Sakkinen <[email protected]>2023-04-24 16:15:53 +0300
commit6d789ad726950e612a7f31044260337237c5b490 (patch)
tree2d90e79df81e6c756854076802d6b80b4eeee1a0 /tools/perf/scripts/python/export-to-sqlite.py
parent282657a8bd7fddcf511b834f43705001668b33a7 (diff)
tpm, tpm_tis: Disable interrupts if tpm_tis_probe_irq() failed
Both functions tpm_tis_probe_irq_single() and tpm_tis_probe_irq() may setup the interrupts and then return with an error. This case is indicated by a missing TPM_CHIP_FLAG_IRQ flag in chip->flags. Currently the interrupt setup is only undone if tpm_tis_probe_irq_single() fails. Undo the setup also if tpm_tis_probe_irq() fails. Signed-off-by: Lino Sanfilippo <[email protected]> Tested-by: Michael Niewöhner <[email protected]> Tested-by: Jarkko Sakkinen <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions