hwmon: (it87) Avoid registering the same chip on both SIO addresses
authorGuenter Roeck <linux@roeck-us.net>
Sun, 12 Mar 2017 13:18:58 +0000 (06:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 May 2017 05:49:43 +0000 (07:49 +0200)
commit8dee04de5defe97c38aa07590b533c6b487df75e
treee3cabf17ad9577332d36d55b42ddb57c6dd0b773
parentad66b968a0e57438017abcbadfd725b84281d806
hwmon: (it87) Avoid registering the same chip on both SIO addresses

commit 8358378b22518d92424597503d3c1cd302a490b6 upstream.

IT8705F is known to respond on both SIO addresses. Registering it twice
may result in system lockups.

Reported-by: Russell King <linux@armlinux.org.uk>
Fixes: e84bd9535e2b ("hwmon: (it87) Add support for second Super-IO chip")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwmon/it87.c