From: hdegoede@redhat.com (Hans de Goede)
To: linux-arm-kernel@lists.infradead.org
Subject: regulator-core has_full_constraints set too late for dt using boards ?
Date: Wed, 11 Dec 2013 16:43:01 +0100 [thread overview]
Message-ID: <52A88805.1080704@redhat.com> (raw)
Hi All,
While looking into making regulator_get_optional not print
an error when no regulator is found, I've noticed that
for dt enabled boards, has_full_constraints is not set
until regulator_init_complete() runs, which is a
late_initcall.
This means that it gets set after it has already been checked
from calls like regulator_get which are likely done by init
functions running earlier.
This seems wrong ...
Regards,
Hans
next reply other threads:[~2013-12-11 15:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-11 15:43 Hans de Goede [this message]
2013-12-11 16:02 ` regulator-core has_full_constraints set too late for dt using boards ? Mark Brown
2013-12-12 10:14 ` Hans de Goede
2013-12-12 10:42 ` Mark Brown
2013-12-12 12:19 ` Hans de Goede
2013-12-12 12:23 ` Mark Brown
2013-12-12 13:05 ` Hans de Goede
2013-12-12 13:16 ` 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=52A88805.1080704@redhat.com \
--to=hdegoede@redhat.com \
--cc=linux-arm-kernel@lists.infradead.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 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).