]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
hwmon: (w83627ehf) Force initial bank selection
authorJean Delvare <khali@linux-fr.org>
Mon, 5 Nov 2012 20:54:39 +0000 (21:54 +0100)
committerJean Delvare <khali@endymion.delvare>
Mon, 5 Nov 2012 20:54:39 +0000 (21:54 +0100)
commit3300fb4f88688029fff8dfb9ec0734f6e4cba3e7
treeeaac7eae44336995c7ccecffb62b4af5dc5cd00c
parent3d70f8c617a436c7146ecb81df2265b4626dfe89
hwmon: (w83627ehf) Force initial bank selection

Don't assume bank 0 is selected at device probe time. This may not be
the case. Force bank selection at first register access to guarantee
that we read the right registers upon driver loading.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Cc: stable@vger.kernel.org
drivers/hwmon/w83627ehf.c