projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: (f75375s) Shift control mode to the correct bit position
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
drivers
/
hwmon
/
f75375s.c
diff --git
a/drivers/hwmon/f75375s.c
b/drivers/hwmon/f75375s.c
index
0f58ecc
..
e5828c0
100644
(file)
--- a/
drivers/hwmon/f75375s.c
+++ b/
drivers/hwmon/f75375s.c
@@
-79,7
+79,7
@@
enum chips { f75373, f75375 };
#define F75375_REG_PWM2_DROP_DUTY 0x6C
#define FAN_CTRL_LINEAR(nr) (4 + nr)
-#define FAN_CTRL_MODE(nr) (
5
+ ((nr) * 2))
+#define FAN_CTRL_MODE(nr) (
4
+ ((nr) * 2))
/*
* Data structures and manipulation thereof