Re: [PATCH 4/4] ARM i.MX 3ds debugboard: register a dummy regulatorfor the smsc911x device

From: Fabio Estevam
Date: Mon Mar 26 2012 - 14:38:17 EST


On Mon, Mar 26, 2012 at 3:25 PM, Fabio Estevam <festevam@xxxxxxxxx> wrote:
> On Mon, Mar 26, 2012 at 3:19 PM, Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> 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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/