summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBean Huo <beanhuo@micron.com>2020-12-02 21:23:20 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-30 11:25:39 +0100
commit95190daaf93dc77a30d3d3b3f91d3cf26a37741c (patch)
treec61ce1b90a194ccfd446b3c10573cc05207ab9f3 /include/linux
parent063bfcf4ac67cbf919bf78a10efad7908388101a (diff)
mmc: block: Fixup condition for CMD13 polling for RPMB requests
commit 6246d7c9d15aaff0bc3863f67900c6a6e6be921b upstream. The CMD13 polling is needed for commands with R1B responses. In commit a0d4c7eb71dd ("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: a0d4c7eb71dd ("mmc: block: Add CMD13 polling for MMC IOCTLS with R1B response") Cc: stable@vger.kernel.org Reported-by: Zhan Liu <zliua@micron.com> Signed-off-by: Zhan Liu <zliua@micron.com> Signed-off-by: Bean Huo <beanhuo@micron.com> Link: https://lore.kernel.org/r/20201202202320.22165-1-huobean@gmail.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions