Message ID | 5121FE75.8000607@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c index 72fd0f2..764ff29 100644 --- a/drivers/mmc/host/dw_mmc-exynos.c +++ b/drivers/mmc/host/dw_mmc-exynos.c @@ -99,7 +99,7 @@ static int dw_mci_exynos_setup_clock(struct dw_mci *host) else if (priv->ctrl_type == DW_MCI_TYPE_EXYNOS4210) host->bus_hz /= EXYNOS4210_FIXED_CIU_CLK_DIV; - return 0; + return host->bus_hz ? 0 : -EINVAL; } static void dw_mci_exynos_prepare_command(struct dw_mci *host, u32 *cmdr)