hwmon: (it87) Allow calling __superio_enter outside muxed region
authorFrank Crawford <frank@crawford.emu.id.au>
Wed, 4 Jan 2023 06:09:25 +0000 (17:09 +1100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 3 Feb 2023 15:30:10 +0000 (07:30 -0800)
commitd47e377c7b27e656cdf1dfd7297a195d3e68cd2b
tree0671e6438dd8a78c1718e57f8e6b7d8a40d6baf7
parent554df454e2fa117b36b2238f3b3467ef02a10fa0
hwmon: (it87) Allow calling __superio_enter outside muxed region

Allow for superio_enter to be called without requesting the muxed memory
region, in particular for initialisation of the second chipset, which must
be put into configuration mode, but without an associated call to leave
configuration mode.

Signed-off-by: Frank Crawford <frank@crawford.emu.id.au>
Link: https://lore.kernel.org/r/20230104060926.619686-2-frank@crawford.emu.id.au
[groeck: Clarified subject]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/it87.c