mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
ANDROID: mmc: cqhci: set blk_keyslot_manager::features
This is needed due to "ANDROID: block: add hardware-wrapped key support", which isn't upstream yet. Bug: 160883801 Change-Id: I053a1de8d8c600f8eaba60cd338e07b778d017b3 Signed-off-by: Eric Biggers <ebiggers@google.com>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b489f0324e
commit
14d98d667c
@@ -209,6 +209,8 @@ int cqhci_crypto_init(struct cqhci_host *cq_host)
|
||||
/* Unfortunately, CQHCI crypto only supports 32 DUN bits. */
|
||||
ksm->max_dun_bytes_supported = 4;
|
||||
|
||||
ksm->features = BLK_CRYPTO_FEATURE_STANDARD_KEYS;
|
||||
|
||||
/*
|
||||
* Cache all the crypto capabilities and advertise the supported crypto
|
||||
* modes and data unit sizes to the block layer.
|
||||
|
||||
Reference in New Issue
Block a user