mmc: sdio: Fix 1-bit mode for SD-combo cards during suspend
authorYue Hu <huyue2@yulong.com>
Tue, 9 Jun 2020 08:14:31 +0000 (16:14 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Jul 2020 10:18:23 +0000 (12:18 +0200)
commit40e6c479e9250808ff19ccfb6d48979ecb2377bd
tree3b9912457ccd6710e2e7688bc2e774a57bcf3e19
parentec97863cac3e36e877cc326b12568a237865ee69
mmc: sdio: Fix 1-bit mode for SD-combo cards during suspend

Commit 6b5eda369ac3 ("sdio: put active devices into 1-bit mode during
suspend") disabled 4-bit mode during system suspend. After this patch,
commit 7310ece86ad7 ("mmc: implement SD-combo (IO+mem) support") used
new sdio_enable_4bit_bus() instead of sdio_enable_wide() to support
SD-combo cards, also for card resume. However, no corresponding support
added during suspend. That is not correct. Let's fix it.

Signed-off-by: Yue Hu <huyue2@yulong.com>
Link: https://lore.kernel.org/r/20200609081431.6376-1-zbestahu@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sdio.c