diff options
Diffstat (limited to 'src/drivers/i2c/tpm')
-rw-r--r-- | src/drivers/i2c/tpm/tis.c | 3 | ||||
-rw-r--r-- | src/drivers/i2c/tpm/tpm.c | 3 | ||||
-rw-r--r-- | src/drivers/i2c/tpm/tpm.h | 1 |
3 files changed, 0 insertions, 7 deletions
diff --git a/src/drivers/i2c/tpm/tis.c b/src/drivers/i2c/tpm/tis.c index 9bdf0130e2..7cdb2a23b5 100644 --- a/src/drivers/i2c/tpm/tis.c +++ b/src/drivers/i2c/tpm/tis.c @@ -103,9 +103,6 @@ static ssize_t tpm_transmit(const uint8_t *sbuf, size_t sbufsiz, void *rbuf, goto out; } - if (chip->vendor.irq) - goto out_recv; - int timeout = 2 * 60 * 1000; /* two minutes timeout */ while (timeout) { ASSERT(chip->vendor.status); diff --git a/src/drivers/i2c/tpm/tpm.c b/src/drivers/i2c/tpm/tpm.c index 5350695922..cc44b48692 100644 --- a/src/drivers/i2c/tpm/tpm.c +++ b/src/drivers/i2c/tpm/tpm.c @@ -545,9 +545,6 @@ int tpm_vendor_init(struct tpm_chip *chip, unsigned int bus, uint32_t dev_addr) chip->vendor.send = &tpm_tis_i2c_send; chip->vendor.cancel = &tpm_tis_i2c_ready; - /* Disable interrupts (not supported) */ - chip->vendor.irq = 0; - if (request_locality(chip, 0) != 0) return -1; diff --git a/src/drivers/i2c/tpm/tpm.h b/src/drivers/i2c/tpm/tpm.h index 35cf3972cf..1a01e05055 100644 --- a/src/drivers/i2c/tpm/tpm.h +++ b/src/drivers/i2c/tpm/tpm.h @@ -58,7 +58,6 @@ struct tpm_vendor_specific { uint8_t req_complete_mask; uint8_t req_complete_val; uint8_t req_canceled; - int irq; int (*recv)(struct tpm_chip *, uint8_t *, size_t); int (*send)(struct tpm_chip *, uint8_t *, size_t); void (*cancel)(struct tpm_chip *); |