diff options
author | Guenter Roeck <linux@roeck-us.net> | 2019-04-05 08:44:41 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-29 10:21:42 +0100 |
commit | 55865d61eda4f53658620b5239ff7af257713cdb (patch) | |
tree | af408c7cffde58a612d41ac1983e92250291243f /net/tipc/sysctl.c | |
parent | 4c6cf62c5c574e12687922b6490ff980a1082d39 (diff) |
hwmon: (w83627hf) Use request_muxed_region for Super-IO accesses
[ Upstream commit e95fd518d05bfc087da6fcdea4900a57cfb083bd ]
Super-IO accesses may fail on a system with no or unmapped LPC bus.
Also, other drivers may attempt to access the LPC bus at the same time,
resulting in undefined behavior.
Use request_muxed_region() to ensure that IO access on the requested
address space is supported, and to ensure that access by multiple drivers
is synchronized.
Fixes: b72656dbc491 ("hwmon: (w83627hf) Stop using globals for I/O port numbers")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/tipc/sysctl.c')
0 files changed, 0 insertions, 0 deletions