diff options
author | Andrew Davis <afd@ti.com> | 2022-07-06 14:11:44 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-07-15 16:43:22 +0800 |
commit | b77e34f5b10de529255c9468203d0644a7af3b81 (patch) | |
tree | bea10ed7a6202c8d48ceec643ec27f0c9b09571c /drivers/gpio | |
parent | a65c9a2a0b43118ee6f00eeeb73aefdcbd89728f (diff) | |
download | lwn-b77e34f5b10de529255c9468203d0644a7af3b81.tar.gz lwn-b77e34f5b10de529255c9468203d0644a7af3b81.zip |
crypto: sa2ul - Check engine status before enabling
There is a engine status register that can be used to check if the
different HW crypto engines are enabled. Check that first and then only
try to enable the engines if they are not already on.
This has a couple benefits. First we don't need to use match_data for
this. Second, this driver can now work on HS devices where the engine
control registers are read-only and writing causes a firewall exception.
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions