]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd30bd2a7dc685b7fb1d82b0776321a1c4a16d4e6
treeccf3ca89bac7cbf0f84b0ebae0c5f5afe3df70d3
parent13910813abb7cf2ab914ff966c4b5e7bd653d3a3
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