mmc: dw_mmc: replace the bus_hz checking point
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 3 Mar 2014 02:36:42 +0000 (11:36 +0900)
committerChris Ball <chris@printf.net>
Mon, 12 May 2014 22:04:32 +0000 (18:04 -0400)
commit612de4c1b3dc2cbe877d39734247d49ab4ba91bd
treec3af37a9076602532e4adcf39eec6370cc97b933
parentd8a4fb0e60c613d85eda57fd1701177ae2f1c6b5
mmc: dw_mmc: replace the bus_hz checking point

It's right to check immediately whether host->bus_hz is assigned or not.

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