
19 Jul
2018
19 Jul
'18
10:35 p.m.
The udevice given to the open() function of course must be opened, not closed.
Signed-off-by: Miquel Raynal miquel.raynal@bootlin.com Reviewed-by: Simon Glass sjg@chromium.org --- include/tpm-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/tpm-common.h b/include/tpm-common.h index 734c2c9d53..68bf8fd627 100644 --- a/include/tpm-common.h +++ b/include/tpm-common.h @@ -71,7 +71,7 @@ struct tpm_ops { * After all commands have been completed the caller should call * close(). * - * @dev: Device to close + * @dev: Device to open * @return 0 ok OK, -ve on error */ int (*open)(struct udevice *dev);
--
2.14.1