|
|
Re: [PATCH 6.2/7] MMC: mmci: Enable Device Tree support for ux500 |
On Mon, Apr 16, 2012 at 10:26:08AM +0100, Lee Jones wrote:
> + /* Must have platform data or Device Tree. */
> + if (!plat && !np) {
> + dev_err(&dev->dev, "No plat data or DT found\n");
> + return -EINVAL;
> }
>
> + if (np)
> + mmci_dt_populate_generic_pdata(np, plat);
Please tell me what happens if plat is NULL, but we're running on a DT
enabled platform. Something tells me that you might just want to fix
that case _before_ I apply your patch.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
[Linux ARM (vger)] [Linux ARM MSM] [Linux Omap] [Linux Arm] [Linux Tegra] [Fedora ARM] [eCos] [Linux Fastboot] [Gcc Help] [Git] [DCCP] [IETF Announce] [Security] [PDAs] [Linux] [Linux MIPS] [Yosemite Campsites] [Photos]
![]() |
![]() |