lkml.org 
[lkml]   [2012]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 4/4] ARM i.MX 3ds debugboard: register a dummy regulator for the smsc911x device
    On Mon, Mar 26, 2012 at 03:09:34PM -0300, Fabio Estevam wrote:
    > Hi Sascha,
    >
    > On Sat, Mar 3, 2012 at 8:40 AM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
    > > Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
    >
    > ...
    > >        /* Register Lan device on the debugboard */
    > > +       regulator_register_fixed(0, dummy_supplies, ARRAY_SIZE(dummy_supplies));
    >
    > I am using linux-next, which has this patch applied and I am getting:
    >
    > smsc911x smsc911x.0: Failed to get supply 'vdd33a': -517
    > smsc911x smsc911x.0: (unregistered net_device): couldn't get regulators -517
    > platform smsc911x.0: Driver smsc911x requests probe deferral
    >
    > Does this work for you on pcm037?

    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?

    >
    > If I select CONFIG_REGULATOR_DUMMY then the the smsc driver is probed
    > correctly, but if I understand correctly your suggestion was to not
    > select CONFIG_REGULATOR_DUMMY, right?

    Right.

    Sascha

    --
    Pengutronix e.K. | |
    Industrial Linux Solutions | http://www.pengutronix.de/ |
    Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
    Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2012-03-26 20:23    [W:0.026 / U:17.688 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site