]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
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)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 17 Mar 2021 18:46:14 +0000 (13:46 -0500)
commit9009548515b62e9ac9eaf6b8f9f0f18f0f5e69dc
tree242e7e589527d36592819ab1f9cf79c360074ec3
parent1496b5d2c969a2414b8761ae4476dbdc5ffcbbb8
mmc: core: Fix partition switch time for eMMC

BugLink: https://bugs.launchpad.net/bugs/1919492
commit 66fbacccbab91e6e55d9c8f1fc0910a8eb6c81f7 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: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/mmc/core/mmc.c