aboutsummaryrefslogtreecommitdiff
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-03-07 03:58:55 -0800
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-07 09:48:43 -0800
commit7ad6307ad6968ce25cecf209d4822d4c722be030 (patch)
tree0ee31e81c7da73a4ef7708dc05ae34bc03c0d7f5 /Documentation/hwmon
parent7cb3c44fb1f7999e4c53b6a52de6bc25da6de079 (diff)
downloadlinux-linaro-stable-7ad6307ad6968ce25cecf209d4822d4c722be030.tar.gz
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 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions