diff options
author | Guenter Roeck <linux@roeck-us.net> | 2019-04-04 21:22:42 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-04-16 03:19:53 +0300 |
commit | 8c0826756744c0ac1df600a5e4cca1a341b13101 (patch) | |
tree | 2798eb6a92ce30f42c9517cc1d36f5fd2f74e0f9 /include/dt-bindings/mux | |
parent | 755a9b0f8aaa5639ba5671ca50080852babb89ce (diff) | |
download | linux-8c0826756744c0ac1df600a5e4cca1a341b13101.tar.xz |
hwmon: (smsc47b397) 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: 8d5d45fb1468 ("I2C: Move hwmon drivers (2/3)")
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 'include/dt-bindings/mux')
0 files changed, 0 insertions, 0 deletions