Hi Kaneko-san

> From: Shinobu Uehara <shinobu.uehara...@renesas.com>
> 
> Signed-off-by: Shinobu Uehara <shinobu.uehara...@renesas.com>
> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com>
> ---
(snip)
> +     if (np && !of_property_read_u32(np, "renesas,clk-rate", &clk_rate)) {
> +             if (clk_rate) {
> +                     ret = clk_set_rate(host->hclk, clk_rate);
> +                     if (ret < 0)
> +                             dev_err(&pdev->dev,
> +                                     "cannot set clock rate: %d\n", ret);
> +             }
> +     }

I guess this is came from BSP, and you have similar
bindings on sh_mobile_sdhi.c too.
But, we need to use "standard" method, not BSP original

Best regards
---
Kuninori Morimoto
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to