summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLukas Funke <[email protected]>2024-07-24 09:34:47 +0200
committerIlias Apalodimas <[email protected]>2024-08-06 14:01:14 +0300
commitc686b38db8f84e5537b8371ac59a5b364662eda4 (patch)
tree3a9442e6be8b99b910823d63046b0bdefe474cd1 /scripts
parent6f4c31c2b658358628b5b0fa801f55c7477c7585 (diff)
tpm: call tpm_tis_wait_init() after tpm_tis_init()
tpm_tis_wait_init() is using the 'chip->timeout_b' field which is initialized in tpm_tis_init(). However, the init-function is called *after* tpm_tis_wait_init() introducing an uninitalized field access. This commit switches both routines. Signed-off-by: Lukas Funke <[email protected]> Acked-by: Miquel Raynal <[email protected]> [Ilias removed unusged 'chip' definition in tpm_tis_spi_probe()] Reviewed-by: Ilias Apalodimas <[email protected]> Reviewed-by: Simon Glass <[email protected]> Fixes: a5c30c26b28 ("tpm: Use the new API on tpm2 spi driver") Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions