hwmon: (it87) Allow disabling exiting of configuration mode
authorFrank Crawford <frank@crawford.emu.id.au>
Sat, 28 Jan 2023 06:03:02 +0000 (17:03 +1100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 3 Feb 2023 15:30:11 +0000 (07:30 -0800)
commit4119693bd260dabbbf34abf262ece477bc3ed57c
treeb03e0f099d511ea58a6376d28851d3b657f1369b
parent12087a365f06eca4c3d9ec0de35728bc5215216d
hwmon: (it87) Allow disabling exiting of configuration mode

Disabling configuration mode on some chips can result in system
hang-ups and access failures to the Super-IO chip at the
second SIO address. Never exit configuration mode on these
chips to avoid the problem.

This patch should be applied in conjunction with a previous one to
initialise the second chip for certain mother boards.

Signed-off-by: Frank Crawford <frank@crawford.emu.id.au>
Link: https://lore.kernel.org/r/20230128060308.1549707-2-frank@crawford.emu.id.au
[groeck: Change feature bit from 28 to 19 to be continuous]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/it87.c