diff options
author | Guenter Roeck <linux@roeck-us.net> | 2019-04-05 18:53:08 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-04-16 03:19:53 +0300 |
commit | 14b97ba5c20056102b3dd22696bf17b057e60976 (patch) | |
tree | 9362581d01c6774f92702205fcee2ac12777b0cc /drivers/hwmon/occ/sysfs.c | |
parent | e95fd518d05bfc087da6fcdea4900a57cfb083bd (diff) | |
download | linux-14b97ba5c20056102b3dd22696bf17b057e60976.tar.xz |
hwmon: (vt1211) Use request_muxed_region for Super-IO accesses
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: 2219cd81a6cd ("hwmon/vt1211: Add probing of alternate config index port")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/occ/sysfs.c')
0 files changed, 0 insertions, 0 deletions