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

Skip to content
Commit af4a70ad authored by Neeraj Soni's avatar Neeraj Soni Committed by Jiten Patel
Browse files

mmc: host: reprogram the key to cover the invalid config case



This is a workaround to cover a corner case where the host controller
crashes with invalid config error as the crypto config in crypto engine
are lost between key programming call and descriptor processing.

Ported and fixed the merged conflicts in cqhci-crypto-qti.c and
cqhci-crypto-qti.h file (cherry picked from mainline kernel_msm-4.14
commit: 3315421)

Conflicts:
	drivers/mmc/host/cqhci-crypto-qti.c
	drivers/mmc/host/cqhci-crypto-qti.h

Test:
1) Flashed Q meta, create multiple files under /data.
2) Build R (include changes topic: 660_OTA_FIXES) and flash
   APPS images of R except userdata and boot the device.
3) Device booted upto UI.
4) Files created with Q build retained.
5) Created new files under /data and checked retention across
   multiple re-boots.

Change-Id: Idc8ed67281e8f2955b7d759e6821a06ced36aa0b
Signed-off-by: default avatarNeeraj Soni <neersoni@codeaurora.org>
Signed-off-by: default avatarJiten Patel <jitepate@codeaurora.org>
parent 2d6fc51f
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