commit | 0956895aa6f8dc6a33210967252fd7787652537d | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Sat Aug 11 13:57:05 2007 +0200 |
committer | Mark M. Hoffman <mhoffman@lightlink.com> | Sun Aug 12 14:38:31 2007 -0400 |
tree | d017ec09ddb25f14fe69c49a410298228a8e4634 | |
parent | ea7be66c44e56b6b7f1d61befc300871e855d43a [diff] |
hwmon: (w83627ehf) don't assume bank 0 Don't assume that the default bank is 0. For one thing, we don't even set it to 0 when the driver is loaded, so the initial state might be different. For another, something (say, the BIOS) might access the chip and leave with the bank set to something different, so assuming that the bank value is 0 is not safe. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>