mmc: dw_mmc: exynos: don't use if clock isn't available
authorSeungwon Jeon <tgih.jun@samsung.com>
Mon, 22 Dec 2014 12:12:03 +0000 (17:42 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jan 2015 08:56:11 +0000 (09:56 +0100)
commita2a1fed8ea69ffae682eb606f1a722e7d034df8e
tree21c1e52953fd6bc30fdd417cbb548017c4882c3b
parent1a25b1b4199c477f1538f63c1da2b998323e274e
mmc: dw_mmc: exynos: don't use if clock isn't available

Add checking whether the clock is valid.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc-exynos.c