diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-03-07 12:58:55 +0100 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-03-07 18:48:43 +0100 |
commit | 7ad6307ad6968ce25cecf209d4822d4c722be030 (patch) | |
tree | 0ee31e81c7da73a4ef7708dc05ae34bc03c0d7f5 /ipc | |
parent | hwmon: (pmbus_core) Fix maximum number of POUT alarm attributes (diff) | |
download | linux-7ad6307ad6968ce25cecf209d4822d4c722be030.tar.xz linux-7ad6307ad6968ce25cecf209d4822d4c722be030.zip |
hwmon: (zl6100) Maintain delay parameter in driver instance data
A global delay parameter has the side effect of being overwritten with 0 if a
single ZL2004 or ZL6105 is instantiated. If other chips supported by the same
driver are in the system, this will result in access errors for those chips.
To solve the problem, keep a per-instance copy of the delay parameter, and do
not change the original parameter.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: stable@vger.kernel.org # 3.1+
Acked-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions