[PATCH 1/3] mmc: meson-gx: fix setting f_min

Ulf Hansson ulf.hansson at linaro.org
Tue Jan 31 03:55:00 PST 2017


On 26 January 2017 at 22:41, Heiner Kallweit <hkallweit1 at gmail.com> wrote:
> Currently f_min is set to 4 MHz whilst the comment states 400 MHz.
> I think the itention is to set f_min to 400 kHz.
> Change value and comment accordingly.
>
> Signed-off-by: Heiner Kallweit <hkallweit1 at gmail.com>

Heiner, could you please collect the mmc meson changes that you
recently have submitted in one series and re-post to linux-mmc. I can
pick them up from there.

Kind regards
Uffe

> ---
>  drivers/mmc/host/meson-gx-mmc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/meson-gx-mmc.c b/drivers/mmc/host/meson-gx-mmc.c
> index bf19d03c..cf071756 100644
> --- a/drivers/mmc/host/meson-gx-mmc.c
> +++ b/drivers/mmc/host/meson-gx-mmc.c
> @@ -268,7 +268,7 @@ static int meson_mmc_clk_init(struct meson_host *host)
>         if (f_min != UINT_MAX)
>                 f_min = DIV_ROUND_UP(CLK_SRC_XTAL_RATE, CLK_DIV_MAX);
>         else
> -               f_min = 4000000;  /* default min: 400 MHz */
> +               f_min = 400000;  /* default min: 400 kHz */
>         host->mmc->f_min = f_min;
>
>         /* create the mux */
> --
> 2.11.0
>



More information about the linux-arm-kernel mailing list