Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5192a8a2 authored by Vaibhav Agrawal's avatar Vaibhav Agrawal Committed by Gerrit - the friendly Code Review server
Browse files

mmc: host: Reprogram keys after enabling cqhci crypto



Call cqhci_crypto_recovery_finish() method during cqhci
enable in order to reprogram all keys into ice.
This is needed to cover the case of mmc reset followed
by cqhci recovery, which leads to all keys being cleared.
This causes an invalid crypto config error during
read/write of data after recovery is done.

Test: Verfied by storage team as part of mmc reset and
cqhci recovery testing.

Change-Id: I8deaf52158af223ec9b9a0a1069340467c7dc48a
Signed-off-by: default avatarVaibhav Agrawal <vagrawa@codeaurora.org>
parent 71edd842
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment