mmc: core: Add a debug print when the card may have been replaced
authorhongjiefang <hongjiefang@asrmicro.com>
Thu, 28 Feb 2019 06:08:28 +0000 (14:08 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 Feb 2019 08:28:27 +0000 (09:28 +0100)
commit099b648116090acf0c65c8df867aa1cb42476f3b
treeccf3ca89bac7cbf0f84b0ebae0c5f5afe3df70d3
parent82b6248705cccc4341b4c1d4a80a70f018198db0
mmc: core: Add a debug print when the card may have been replaced

If the card was removed in suspended state and a new one was inserted,
print a debug log when the check detects that it's not the old card.

Signed-off-by: hongjiefang <hongjiefang@asrmicro.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc.c
drivers/mmc/core/sd.c
drivers/mmc/core/sdio.c