This is a note to let you know that I've just added the patch titled

    hwmon: (f75375s) Fix automatic pwm mode setting for F75373 & F75375

to the 3.0-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     hwmon-f75375s-fix-automatic-pwm-mode-setting-for-f75373-f75375.patch
and it can be found in the queue-3.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From 09e87e5c4f9af656af2a8a3afc03487c5d9287c3 Mon Sep 17 00:00:00 2001
From: Nikolaus Schulz <[email protected]>
Date: Wed, 8 Feb 2012 18:56:08 +0100
Subject: hwmon: (f75375s) Fix automatic pwm mode setting for F75373 & F75375

From: Nikolaus Schulz <[email protected]>

commit 09e87e5c4f9af656af2a8a3afc03487c5d9287c3 upstream.

In order to enable temperature mode aka automatic mode for the F75373 and
F75375 chips, the two FANx_MODE bits in the fan configuration register
need be set to 01, not 10.

Signed-off-by: Nikolaus Schulz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/hwmon/f75375s.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/hwmon/f75375s.c
+++ b/drivers/hwmon/f75375s.c
@@ -311,7 +311,7 @@ static int set_pwm_enable_direct(struct
                fanmode  |= (3 << FAN_CTRL_MODE(nr));
                break;
        case 2: /* AUTOMATIC*/
-               fanmode  |= (2 << FAN_CTRL_MODE(nr));
+               fanmode  |= (1 << FAN_CTRL_MODE(nr));
                break;
        case 3: /* fan speed */
                break;


Patches currently in stable-queue which might be from [email protected] are

queue-3.0/hwmon-f75375s-fix-bit-shifting-in-f75375_write16.patch
queue-3.0/hwmon-f75375s-fix-automatic-pwm-mode-setting-for-f75373-f75375.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to