Re: [PATCH/RFC] mmc: sh_mmcif: Increase MMCIF clock rate to 97.5MHz

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kaneko-san

> From: Shinobu Uehara <shinobu.uehara.xc@xxxxxxxxxxx>
> 
> Signed-off-by: Shinobu Uehara <shinobu.uehara.xc@xxxxxxxxxxx>
> Signed-off-by: Yoshihiro Kaneko <ykaneko0929@xxxxxxxxx>
> ---
(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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux