aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorAndy-ld Lu <andy-ld.lu@mediatek.com>2024-11-11 16:49:31 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2024-11-12 19:36:30 +0100
commit2508925fb346661bad9f50b497d7ac7d0b6085d0 (patch)
treec4e33ec36a275316e91b4ba4cdbd966920b04a95 /rust/helpers/task.c
parent291220451c775a054cedc4fab4578a1419eb6256 (diff)
downloadlinux-2508925fb346661bad9f50b497d7ac7d0b6085d0.tar.gz
linux-2508925fb346661bad9f50b497d7ac7d0b6085d0.tar.bz2
linux-2508925fb346661bad9f50b497d7ac7d0b6085d0.zip
mmc: mtk-sd: Fix MMC_CAP2_CRYPTO flag setting
Currently, the MMC_CAP2_CRYPTO flag is set by default for eMMC hosts. However, this flag should not be set for hosts that do not support inline encryption. The 'crypto' clock, as described in the documentation, is used for data encryption and decryption. Therefore, only hosts that are configured with this 'crypto' clock should have the MMC_CAP2_CRYPTO flag set. Fixes: 7b438d0377fb ("mmc: mtk-sd: add Inline Crypto Engine clock control") Fixes: ed299eda8fbb ("mmc: mtk-sd: fix devm_clk_get_optional usage") Signed-off-by: Andy-ld Lu <andy-ld.lu@mediatek.com> Cc: stable@vger.kernel.org Message-ID: <20241111085039.26527-1-andy-ld.lu@mediatek.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions