diff --git a/drivers/mmc/host/cmdq_hci-crypto-qti.c b/drivers/mmc/host/cmdq_hci-crypto-qti.c index 5617388475b9..d145339b70f0 100644 --- a/drivers/mmc/host/cmdq_hci-crypto-qti.c +++ b/drivers/mmc/host/cmdq_hci-crypto-qti.c @@ -221,6 +221,8 @@ int cmdq_host_init_crypto_qti_spec(struct cmdq_host *host, err = -ENOMEM; goto out; } + keyslot_manager_set_max_dun_bytes(host->ksm, sizeof(u32)); + /* * In case host controller supports cryptographic operations * then, it uses 128bit task descriptor. Upper 64 bits of task