]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf34d0edd1bc7b77bea5d7b3cf40db41d4934c4d1
treee7c367f00c539716b42b45662a3950afd13ea1fa
parent940ccb2fba640546039e6eb1e6234848d0573647
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