mmc: sdhci-s3c: Check if clk_set_rate() succeeds
authorMark Brown <broonie@linaro.org>
Tue, 4 Nov 2014 12:26:42 +0000 (12:26 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Nov 2014 11:40:55 +0000 (12:40 +0100)
commitcd0cfdd2485e6252b3c69284bf09d06c4d303116
tree423751737233fedea400b6d8d45f67ddffb60ce8
parentae552ab02cd556f53047959f15a5f870ab7c5ebe
mmc: sdhci-s3c: Check if clk_set_rate() succeeds

It is possible that we may fail to set the clock rate, if we do so then
log the failure and don't bother reprogramming the IP.

Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-s3c.c