mmc: host: Use right parameter for ext4 plus eMMC
With new encryption framework intermediate vector calculation is changed so to support the legacy mechanism for ext4 file system use correct parameter for data encrypt/decrypt. Ported and fixed the merged conflicts in cqhci-crypto-qti.c file (cherry picked from mainline kernel_msm-4.14 commit 3344057) Conflicts: drivers/mmc/host/cqhci-crypto-qti.c 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: I678c291c6a9a91a7aa8e9c64512dd23451873198 Signed-off-by:Neeraj Soni <neersoni@codeaurora.org> Signed-off-by:
Jiten Patel <jitepate@codeaurora.org>
Loading
Please register or sign in to comment