[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130808192747.GM6427@sirena.org.uk>
Date: Thu, 8 Aug 2013 20:27:47 +0100
From: Mark Brown <broonie@...nel.org>
To: Stephen Warren <swarren@...dotorg.org>
Cc: Guenter Roeck <linux@...ck-us.net>, Wei Ni <wni@...dia.com>,
linux-kernel@...r.kernel.org, lm-sensors@...sensors.org,
linux-tegra@...r.kernel.org, MLongnecker@...dia.com,
khali@...ux-fr.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2 1/3] hwmon: (lm90) Add power control
On Thu, Aug 08, 2013 at 11:30:30AM -0600, Stephen Warren wrote:
> On 08/08/2013 02:42 AM, Guenter Roeck wrote:
> > If the regulator subsystem is not configured, you especially don't need
> > or want
> > to pollute the log with an error message.
> DT parsing errors should be reported. However, if there's nothing to
> parse, it's not an error.
> So, I think this should report an error message *if* there is a DT
> property that defines the regulator to use. If there's no property, just
> use no regulator. If there is a property, it had better be possible to
> parse it.
On a DT system you should get this behaviour simply by paying attention
to the error code from the regualtor API - the core should complain
loudly if the DT is incomprehensible.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists