diff options
author | Guenter Roeck <linux@roeck-us.net> | 2019-04-04 20:16:20 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-04-16 02:19:53 +0200 |
commit | 755a9b0f8aaa5639ba5671ca50080852babb89ce (patch) | |
tree | 6958c6737518debed2b2dad91a2181401edddb13 /usr | |
parent | hwmon: (f71805f) Use request_muxed_region for Super-IO accesses (diff) | |
download | linux-755a9b0f8aaa5639ba5671ca50080852babb89ce.tar.xz linux-755a9b0f8aaa5639ba5671ca50080852babb89ce.zip |
hwmon: (pc87427) 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: ba224e2c4f0a7 ("hwmon: New PC87427 hardware monitoring driver")
Reported-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reported-by: John Garry <john.garry@huawei.com>
Cc: John Garry <john.garry@huawei.com>
Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions