From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753429AbdIHEng (ORCPT ); Fri, 8 Sep 2017 00:43:36 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:37710 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750853AbdIHEnd (ORCPT ); Fri, 8 Sep 2017 00:43:33 -0400 X-Google-Smtp-Source: ADKCNb4VR0ARVXBdjDFC3TRMQbbQgx8i67OXbsIiNmN+XuRW9Exyc8ANR9B4zRzrMvHrlhtOxcL0lg== Subject: Re: [PATCH] hwmon: pmbus: Make reg check and clear faults functions return errors To: Andrew Jeffery Cc: linux-hwmon@vger.kernel.org, jdelvare@suse.com, linux-doc@vger.kernel.org, openbmc@lists.ozlabs.org, corbet@lwn.net, linux-kernel@vger.kernel.org References: <20170905070132.17682-1-andrew@aj.id.au> <20170905170002.GG11478@roeck-us.net> <1504657417.28363.8.camel@aj.id.au> <20170906225102.GA32210@roeck-us.net> <1504740749.5042.2.camel@aj.id.au> <1504797770.5105.7.camel@aj.id.au> <1504832527.6124.1.camel@aj.id.au> <1504836369.6124.2.camel@aj.id.au> <75d9f838-aa4a-5cbd-744a-4d8e8bf1a370@roeck-us.net> <1504839076.6124.8.camel@aj.id.au> <1504842058.6124.10.camel@aj.id.au> From: Guenter Roeck Message-ID: <020c1373-6c3e-15e0-340a-e617c3147610@roeck-us.net> Date: Thu, 7 Sep 2017 21:43:30 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1504842058.6124.10.camel@aj.id.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. I'll replaced the fan configuration with some hard-coded values. We'll see if it makes a difference. Guenter