From: Guenter Roeck Date: Mon, 12 Sep 2011 17:31:08 +0000 Subject: Re: [lm-sensors] [PATCH 3/3] hwmon/f71882fg: Make the decision Message-Id: <1315848668.2455.190.camel@groeck-laptop> List-Id: References: <1315563155-15774-3-git-send-email-hdegoede@redhat.com> In-Reply-To: <1315563155-15774-3-git-send-email-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org On Mon, 2011-09-12 at 13:26 -0400, Hans de Goede wrote: > Hi, > > On 09/12/2011 07:23 PM, Guenter Roeck wrote: > > On Fri, 2011-09-09 at 06:12 -0400, Hans de Goede wrote: > >> Before this patch the f71882fg driver completely fails to initialize > >> on systems which have reserved settings in the pwm enable register, and > >> it disables all auto pwm sysfs attributes if any fan is controlled by > >> a digital sensor reading. > >> > >> This patch changes the fail to initialize into don't register any attributes > >> for the fan for which there are reserved settings in the pwm enable register > >> and also makes the not registering of auto pwm sysfs attributes a per fan > >> thing. > >> > >> Signed-off-by: Hans de Goede > > > > Given that this is no longer a pure hwmon driver, it may make sense to > > split it into separate mfd/hwmon/watchdog drivers. But on the other side > > I notice that other drivers in the hwmon directory implement watchdog > > functionality as well. Bad precedent :(. Wonder what happens with those > > watchdogs if HWMON is disabled. > > > > Not really sure if we should let this happen, or start being more > > restrictive and enforce cleaner code. Jean, any thoughts/comments ? > > It seems that you put this reply in the wrong thread? Can you please copy > paste to the right thread (with the CC list intact so that the watchdog people > get it too). Then I'll reply there. > Oops. Not my day :(. Guenter _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors