Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: tmio: remove workaround for NON_REMOVABLE

RPM handling has been improved twice since this comment, and also SCC
handling has been improved a lot. All the testing we did (Geert's and
Niklas' and Wolfram's board farms) with the workaround removed did not
lead to problems, so it is time to get rid of it to the best of our
knowledge.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/20210218110224.6910-1-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Wolfram Sang and committed by
Ulf Hansson
c29b84d6 b53f0bee

-9
-9
drivers/mmc/host/tmio_mmc_core.c
··· 1161 1161 !mmc_card_is_removable(mmc)); 1162 1162 1163 1163 /* 1164 - * On Gen2+, eMMC with NONREMOVABLE currently fails because native 1165 - * hotplug gets disabled. It seems RuntimePM related yet we need further 1166 - * research. Since we are planning a PM overhaul anyway, let's enforce 1167 - * for now the device being active by enabling native hotplug always. 1168 - */ 1169 - if (pdata->flags & TMIO_MMC_MIN_RCAR2) 1170 - _host->native_hotplug = true; 1171 - 1172 - /* 1173 1164 * While using internal tmio hardware logic for card detection, we need 1174 1165 * to ensure it stays powered for it to work. 1175 1166 */