Thread (37 messages) 37 messages, 6 authors, 2013-08-09

[PATCH v2 1/3] hwmon: (lm90) Add power control

From: broonie@kernel.org (Mark Brown)
Date: 2013-08-09 10:57:14
Also in: linux-tegra, lkml

On Fri, Aug 09, 2013 at 03:23:31PM +0800, Wei Ni wrote:
On 08/08/2013 07:01 PM, Mark Brown wrote:
quoted
You shouldn't just be ignoring errors here, though there are deployment
difficulties with making sure a stub regulator is provided.  These
should be getting easier after the next merge window, the stubs will be
being tweaked slightly to have an "assume it's there" option even when
Oh, really, could you show me the patch, I wish to take a look :)
No patch quite yet - the basic idea is that for plain regulator_get()
you'll only ever get -EPROBE_DEFER as an error, not -ENODEV.  If the
regulator is missing in the DT we assume it's there and provide a dummy
if the DT doesn't hook it up.  If the consumer genuinely wants to see if
a supply might not be wired up it should use regulator_get_optional()
which is in -next at the minute.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130809/4b97e752/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help