[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1504847328.6124.15.camel@aj.id.au>
Date: Fri, 08 Sep 2017 15:08:48 +1000
From: Andrew Jeffery <andrew@...id.au>
To: Guenter Roeck <linux@...ck-us.net>
Cc: linux-hwmon@...r.kernel.org, jdelvare@...e.com,
linux-doc@...r.kernel.org, openbmc@...ts.ozlabs.org,
corbet@....net, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hwmon: pmbus: Make reg check and clear faults functions
return errors
On Thu, 2017-09-07 at 21:43 -0700, Guenter Roeck wrote:
> On 09/07/2017 08:40 PM, Andrew Jeffery wrote:
> > On Fri, 2017-09-08 at 12:51 +1000, Andrew Jeffery wrote:
> > > > I can't test with devicetree. x86 system.
> > > >
> > > > 2,100+ iterations with your driver, no failures.
> > >
> > > Great. I really appreciate your testing here, so thanks for your
> > > efforts. I owe you a few drinks if we ever happen to meet.
> >
> > Actually, on that, how did you chop out the devicetree parts? Did you
> > keep the configuration writes at the end of max31785_of_fan_config()
> > and max31785_of_tmp_config()? Or did you just not call them? These two
> > functions cause the bulk of the bus traffic with on probe.
> >
>
> I didn't change to code, just compiled and run it. Guess that means
> this part was skipped.
Right, yeah looking at it a bit more, dev->of_node will be NULL for
for_each_child_of_node(dev->of_node, child), therefore the loop body
won't execute.
>
> I'll replaced the fan configuration with some hard-coded values.
> We'll see if it makes a difference.
Sounds good.
Andrew
Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)
Powered by blists - more mailing lists