summaryrefslogtreecommitdiff
path: root/net/9p
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-03-07 15:58:55 +0400
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-07 21:48:43 +0400
commit7ad6307ad6968ce25cecf209d4822d4c722be030 (patch)
tree0ee31e81c7da73a4ef7708dc05ae34bc03c0d7f5 /net/9p
parent7cb3c44fb1f7999e4c53b6a52de6bc25da6de079 (diff)
downloadlinux-7ad6307ad6968ce25cecf209d4822d4c722be030.tar.xz
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 'net/9p')
0 files changed, 0 insertions, 0 deletions