OSDN Git Service

mmc: dw_mmc: display the clock message only one time when card is polling
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 24 Nov 2016 11:04:42 +0000 (20:04 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Dec 2016 09:31:17 +0000 (10:31 +0100)
commite6cd7a8ea1c3efe412e6b9e900b635ea29764f70
treee7c367f00c539716b42b45662a3950afd13ea1fa
parentd10111cf8586e16dbdbe8ed60de7065b54a70df1
mmc: dw_mmc: display the clock message only one time when card is polling

When card is polling (broken-cd), there is a spamming messge related to
clock.
After applied this patch, display the message only one time at boot
time. It's enough to check which clock values is used.
Also prevent to display the spamming message.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c
drivers/mmc/host/dw_mmc.h