diff options
| author | Heinrich Schuchardt <[email protected]> | 2021-11-28 11:50:58 +0100 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2021-11-30 09:23:27 +0100 |
| commit | 9d2465347c7cc6997c58409083c8ba18888cc9aa (patch) | |
| tree | 451259799fd112f2e7d3ccf05d9af350e9ee75e9 /drivers | |
| parent | ade37460a944aed36ae6ee634c4d4a9a22690461 (diff) | |
doc: qemu-arm peripherials
* add description how to add RNG device
* for a disk specify format=raw to avoid a warning
* fix a typo
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/tpm/tpm2_tis_mmio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/tpm/tpm2_tis_mmio.c b/drivers/tpm/tpm2_tis_mmio.c index 9cedff22250..f04aab2e6e0 100644 --- a/drivers/tpm/tpm2_tis_mmio.c +++ b/drivers/tpm/tpm2_tis_mmio.c @@ -118,10 +118,13 @@ iounmap: static int tpm_tis_remove(struct udevice *dev) { struct tpm_tis_chip_data *drv_data = (void *)dev_get_driver_data(dev); + int ret; + + ret = tpm_tis_cleanup(dev); iounmap(drv_data->iobase); - return tpm_tis_cleanup(dev); + return ret; } static const struct tpm_ops tpm_tis_ops = { |
