Files
linux/drivers
Mario Limonciello cacc6e2293 tpm: Add a helper for checking hwrng enabled
The same checks are repeated in three places to decide whether to use
hwrng.  Consolidate these into a helper.

Also this fixes a case that one of them was missing a check in the
cleanup path.

Fixes: 554b841d47 ("tpm: Disable RNG for all AMD fTPMs")
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2023-08-09 10:05:15 -07:00
..
…
…
…
2023-06-29 08:09:31 -06:00
…
…
…
…
…
…
…
…
2023-07-20 14:38:36 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2023-07-27 07:53:12 +02:00
…
…