diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2019-04-05 08:53:08 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-11 12:23:59 +0200 |
| commit | e3e58378c678bf12b1aa5be1e141aba29b9e2e58 (patch) | |
| tree | 9c2aff76b137504254ea578a1b45eedced5fca9c /tools/perf/scripts/python/netdev-times.py | |
| parent | 488920af3bb37153c5f446c969a3e578d1484b18 (diff) | |
hwmon: (vt1211) Use request_muxed_region for Super-IO accesses
[ Upstream commit 14b97ba5c20056102b3dd22696bf17b057e60976 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
