Commit 4a333f1e authored by Adrian Hunter's avatar Adrian Hunter Committed by Zheng Zengkai
Browse files

mmc: core: Fix partition switch time for eMMC



stable inclusion
from stable-5.10.24
commit a61596a9b2a7b4124183e88f6ac0a790b13ccac2
bugzilla: 51348

--------------------------------

commit 66fbaccc upstream.

Avoid the following warning by always defining partition switch time:

 [    3.209874] mmc1: unspecified timeout for CMD6 - use generic
 [    3.222780] ------------[ cut here ]------------
 [    3.233363] WARNING: CPU: 1 PID: 111 at drivers/mmc/core/mmc_ops.c:575 __mmc_switch+0x200/0x204

Reported-by: default avatarPaul Fertser <fercerpav@gmail.com>
Fixes: 1c447116 ("mmc: mmc: Fix partition switch timeout for some eMMCs")
Signed-off-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/168bbfd6-0c5b-5ace-ab41-402e7937c46e@intel.com


Cc: stable@vger.kernel.org
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatar  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent b72bd1f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment