Hello.

Пятница, 10 января 2014, 10:29 +01:00 от Markus Niebel 
<list-09_bare...@tqsc.de>:
> From: Markus Niebel <markus.nie...@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?

---
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to