]> www.infradead.org Git - users/dwmw2/linux.git/commit
mmc: sdhci-msm: fix crypto key eviction
authorEric Biggers <ebiggers@google.com>
Fri, 13 Dec 2024 04:19:48 +0000 (20:19 -0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 19 Dec 2024 13:42:10 +0000 (14:42 +0100)
commit8d90a86ed053226a297ce062f4d9f4f521e05c4c
tree0657b512bccdde8bcce0bcff579fc9106df9c090
parentf3d87abe11ed04d1b23a474a212f0e5deeb50892
mmc: sdhci-msm: fix crypto key eviction

Commit c7eed31e235c ("mmc: sdhci-msm: Switch to the new ICE API")
introduced an incorrect check of the algorithm ID into the key eviction
path, and thus qcom_ice_evict_key() is no longer ever called.  Fix it.

Fixes: c7eed31e235c ("mmc: sdhci-msm: Switch to the new ICE API")
Cc: stable@vger.kernel.org
Cc: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Message-ID: <20241213041958.202565-6-ebiggers@kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c