mmc: sdhci: remove CONFIG_MMC_DEBUG from the driver
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 19 Jul 2017 07:55:49 +0000 (15:55 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:35 +0000 (14:01 +0200)
commit06ebc6010cf588423aa17c883c005c0ed2ddf46e
tree9f82080ec84433d35c73ddcf908d185892e6faae
parent7b6bd20bc4e343094ed0ac650f4fb5d1fdb3d5da
mmc: sdhci: remove CONFIG_MMC_DEBUG from the driver

sdhci uses CONFIG_MMC_DEBUG for showing ADMA descriptor
when occurring ADMA error. And it's also used to  dump the
registers whenever calling sdhci_add_host.

On one hand, I don't see any burden to always print the state
ADMA descriptor as it's rare and will help folks better understand
what was happening when seeing ADMA error.

On the other, folks may be interested in checking some registers
at probe time. So we remove the sdhci_dumpregs from __sdhci_add_host
and print some really useful registers in sdhci_setup_host.

Suggested-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c