Skip to content

Commit 09dd770

Browse files
jgunthorpeJarkko Sakkinen
authored andcommitted
tpm/st33zp24: Remove useless tpm_gen_interrupt
This function should only be called as part of an IRQ probing protocol and st33 does not have any code to detect that the IRQ it tries to generate was not generated and disable the IRQ. Since st33 is primarily a DT binding driver it should not be doing IRQ probing anyhow, so let us just delete this useless call. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
1 parent d4816ed commit 09dd770

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/char/tpm/st33zp24/st33zp24.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,8 +589,6 @@ int st33zp24_probe(void *phy_id, const struct st33zp24_phy_ops *ops,
589589
chip->flags |= TPM_CHIP_FLAG_IRQ;
590590

591591
disable_irq_nosync(tpm_dev->irq);
592-
593-
tpm_gen_interrupt(chip);
594592
}
595593

596594
return tpm_chip_register(chip);

0 commit comments

Comments
 (0)