diff options
-rw-r--r-- | libstb/drivers/tpm_i2c_nuvoton.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libstb/drivers/tpm_i2c_nuvoton.c b/libstb/drivers/tpm_i2c_nuvoton.c index 3679dda..d668000 100644 --- a/libstb/drivers/tpm_i2c_nuvoton.c +++ b/libstb/drivers/tpm_i2c_nuvoton.c @@ -383,6 +383,7 @@ static int tpm_read_fifo(uint8_t* buf, size_t* buflen) prlog(PR_ERR, "NUVOTON: overflow on fifo read, c=%zd, " "bc=%d, bl=%zd\n", count, burst_count, *buflen); rc = STB_TPM_OVERFLOW; + goto error; } rc = tpm_i2c_request_send(tpm_device, SMBUS_READ, |