[PATCH 4/4] ARM i.MX 3ds debugboard: register a dummy regulator for the smsc911x device
Fabio Estevam
festevam at gmail.com
Mon Mar 26 14:38:19 EDT 2012
On Mon, Mar 26, 2012 at 3:25 PM, Fabio Estevam <festevam at gmail.com> wrote:
> On Mon, Mar 26, 2012 at 3:19 PM, Sascha Hauer <s.hauer at pengutronix.de> wrote:
>
>> At least it did work when I sent the patches, but -EPROBE_DEFER did not
>> exist at that time. Do you have the fixed regulator enabled in your
>> config?
>
> Yes, I do. I am using imx_v6_v7_defconfig, which has fixed regulator
> enabled by default.
--- a/arch/arm/plat-mxc/3ds_debugboard.c
+++ b/arch/arm/plat-mxc/3ds_debugboard.c
@@ -151,8 +151,8 @@ static struct irq_chip expio_irq_chip = {
};
If I do the change below, smsc driver is probed correctly:
static struct regulator_consumer_supply dummy_supplies[] = {
- REGULATOR_SUPPLY("vdd33a", "smsc911x"),
- REGULATOR_SUPPLY("vddvario", "smsc911x"),
+ REGULATOR_SUPPLY("vdd33a", NULL),
+ REGULATOR_SUPPLY("vddvario", NULL),
};
Is this OK?
More information about the linux-arm-kernel
mailing list