mmc: core: Fix partition switch time for eMMC
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 3 Mar 2021 09:26:14 +0000 (11:26 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Mar 2021 09:00:52 +0000 (10:00 +0100)
commit66fbacccbab91e6e55d9c8f1fc0910a8eb6c81f7
treee0cca479ae13d12f9d8666f3933d69622c0d9c70
parent774514bf977377c9137640a0310bd64eed0f7323
mmc: core: Fix partition switch time for eMMC

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: Paul Fertser <fercerpav@gmail.com>
Fixes: 1c447116d017 ("mmc: mmc: Fix partition switch timeout for some eMMCs")
Signed-off-by: Adrian 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: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc.c