All of lore.kernel.org
 help / color / mirror / Atom feed
From: Prabhakar Lad <prabhakar.csengg@gmail.com>
To: Mark Brown <broonie@linaro.org>, broonie@kernel.org
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: 
Date: Thu, 23 Jan 2014 14:36:05 +0530	[thread overview]
Message-ID: <CA+V-a8t5PWv95mr3VCjRamC4gJFLJbh=K+ZA81uEeMfGh7k-1A@mail.gmail.com> (raw)

Hi Mark,

I see a issue with one of the davinci boards, where regulator_get() fails
from this patch "regulator: core: Provide a dummy regulator with full
constraints".
as I see regulator_get() supports dummy regulators by default.

So currently I am booting it traditional way (NON DT way) and
regulator_dev_lookup()
fails (return NULL)  and for this check it fails.

+    if (ret && ret != -ENODEV) {
         regulator = ERR_PTR(ret);
         goto out;
     }
In the NON-DT case the 'ret' is never updated in regulator_dev_lookup().

I tried adding regulator_has_full_constraints(); call in .init_machine
but results
the same. Any pointer would be helpfull.

Thanks,
--Prabhakar Lad

             reply	other threads:[~2014-01-23  9:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-23  9:06 Prabhakar Lad [this message]
2014-01-23 19:55 ` your mail Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+V-a8t5PWv95mr3VCjRamC4gJFLJbh=K+ZA81uEeMfGh7k-1A@mail.gmail.com' \
    --to=prabhakar.csengg@gmail.com \
    --cc=broonie@kernel.org \
    --cc=broonie@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.