mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
The Security function on the AMCC SoCs has multiple engines within a single MMIO range. The crypto driver currently enables the 3DES functionality by doing a blind write to the device control register. This can unintentionally disable other functions like the PKA or TRNG when the driver is loaded. Perform a read/modify/write to enable the 3DES function instead. Signed-off-by: Josh Boyer <[email protected]> Signed-off-by: Herbert Xu <[email protected]>