Skip to content
Commit 6246d7c9 authored by Bean Huo's avatar Bean Huo Committed by Ulf Hansson
Browse files

mmc: block: Fixup condition for CMD13 polling for RPMB requests

The CMD13 polling is needed for commands with R1B responses. In commit
a0d4c7eb ("mmc: block: Add CMD13 polling for MMC IOCTLS with R1B
response"), the intent was to introduce this for requests targeted to the
RPMB partition. However, the condition to trigger the polling loop became
wrong, leading to unnecessary polling. Let's fix the condition to avoid
this.

Fixes: a0d4c7eb

 ("mmc: block: Add CMD13 polling for MMC IOCTLS with R1B response")
Cc: stable@vger.kernel.org
Reported-by: default avatarZhan Liu <zliua@micron.com>
Signed-off-by: default avatarZhan Liu <zliua@micron.com>
Signed-off-by: default avatarBean Huo <beanhuo@micron.com>
Link: https://lore.kernel.org/r/20201202202320.22165-1-huobean@gmail.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 32a9e0c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment