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

Skip to content
Commit e102e096 authored by Veerabhadrarao Badiganti's avatar Veerabhadrarao Badiganti Committed by Ram Prakash Gupta
Browse files

mmc: host: Reset sdhc-crypto engine only during error recovery



No need to reset the inline-crypto-engine (ICE) when SDHC soft-
reset is triggered. ICE needs to be reset only when SDHC gets h/w
reset (this is to keep SHDC and ICE in sync) but mmc driver never
does h/w reset of SDHC controller

Resetting ICE whenever SDHC get soft reset (in suspend path)
resulting in TZ calls and causing latency issues.

But invoke ice reset during error handling path to ensure ice
s/w state machine is in sync with the mmc s/w state.

Change-Id: Ifb48bf215821a8318520e214370c78f2bc857622
Signed-off-by: default avatarVeerabhadrarao Badiganti <vbadigan@codeaurora.org>
Signed-off-by: default avatarRam Prakash Gupta <rampraka@codeaurora.org>
parent dab5e601
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