linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* (no subject)
@ 2014-01-23  9:06 Prabhakar Lad
  2014-01-23 19:55 ` your mail Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Prabhakar Lad @ 2014-01-23  9:06 UTC (permalink / raw)
  To: Mark Brown, broonie; +Cc: LKML

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-23 19:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-23  9:06 Prabhakar Lad
2014-01-23 19:55 ` your mail Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).