diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2012-03-01 09:35:40 +0100 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2012-03-04 23:35:53 -0500 |
commit | 4d6e7c358e61f2053f945423718d0923b6413f99 (patch) | |
tree | d2c7ac4906cb51ff7183ab48b497675584c72cfc /recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.7/0017-hwmon-f75375s-Fix-automatic-pwm-mode-setting-for-F75.patch | |
parent | e31722adc42ef202ae273571ce19a7ac304e5eb6 (diff) | |
download | meta-ti-4d6e7c358e61f2053f945423718d0923b6413f99.tar.gz |
linux-ti33x-psp 3.2: update to 3.2.9 and add 2 patches from PSP tree
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.7/0017-hwmon-f75375s-Fix-automatic-pwm-mode-setting-for-F75.patch')
-rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.7/0017-hwmon-f75375s-Fix-automatic-pwm-mode-setting-for-F75.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.7/0017-hwmon-f75375s-Fix-automatic-pwm-mode-setting-for-F75.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.7/0017-hwmon-f75375s-Fix-automatic-pwm-mode-setting-for-F75.patch new file mode 100644 index 00000000..ae31b440 --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.7/0017-hwmon-f75375s-Fix-automatic-pwm-mode-setting-for-F75.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 90d9b5dce1ba11bb577378da3138be5c40c01278 Mon Sep 17 00:00:00 2001 | ||
2 | From: Nikolaus Schulz <schulz@macnetix.de> | ||
3 | Date: Wed, 8 Feb 2012 18:56:08 +0100 | ||
4 | Subject: [PATCH 17/30] hwmon: (f75375s) Fix automatic pwm mode setting for | ||
5 | F75373 & F75375 | ||
6 | |||
7 | commit 09e87e5c4f9af656af2a8a3afc03487c5d9287c3 upstream. | ||
8 | |||
9 | In order to enable temperature mode aka automatic mode for the F75373 and | ||
10 | F75375 chips, the two FANx_MODE bits in the fan configuration register | ||
11 | need be set to 01, not 10. | ||
12 | |||
13 | Signed-off-by: Nikolaus Schulz <mail@microschulz.de> | ||
14 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | ||
15 | --- | ||
16 | drivers/hwmon/f75375s.c | 2 +- | ||
17 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
18 | |||
19 | diff --git a/drivers/hwmon/f75375s.c b/drivers/hwmon/f75375s.c | ||
20 | index dcfd9e1..e4ab491 100644 | ||
21 | --- a/drivers/hwmon/f75375s.c | ||
22 | +++ b/drivers/hwmon/f75375s.c | ||
23 | @@ -311,7 +311,7 @@ static int set_pwm_enable_direct(struct i2c_client *client, int nr, int val) | ||
24 | fanmode |= (3 << FAN_CTRL_MODE(nr)); | ||
25 | break; | ||
26 | case 2: /* AUTOMATIC*/ | ||
27 | - fanmode |= (2 << FAN_CTRL_MODE(nr)); | ||
28 | + fanmode |= (1 << FAN_CTRL_MODE(nr)); | ||
29 | break; | ||
30 | case 3: /* fan speed */ | ||
31 | break; | ||
32 | -- | ||
33 | 1.7.7.4 | ||
34 | |||