Re: [PATCH 2/3] mci: imx-esdhc: add DSR support

Alexander Shiyan shc_work at mail.ru
Fri Jan 10 04:25:40 EST 2014


Hello.

Пятница, 10 января 2014, 10:29 +01:00 от Markus Niebel <list-09_barebox at tqsc.de>:
> From: Markus Niebel <Markus.Niebel at tqs.de>
> 
> having DSR support in mci-core we need a way to
> forward the DSR value to the driver. Add it to
> platform data for imx-esdhc
...
> diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c
> index 7664e7b..deb44b0 100644
> --- a/drivers/mci/imx-esdhc.c
> +++ b/drivers/mci/imx-esdhc.c
> @@ -582,6 +582,8 @@ static int fsl_esdhc_probe(struct device_d *dev)
>  	if (host->mci.f_min < 200000)
>  		host->mci.f_min = 200000;
>  	host->mci.f_max = rate;
> +	host->mci.use_dsr = pdata->use_dsr;
> +	host->mci.dsr_val = pdata->dsr_val;

What happen if device is probed from devicetree?

---


More information about the barebox mailing list