diff options
| author | Guenter Roeck <[email protected]> | 2019-04-04 11:28:37 -0700 | 
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2019-04-15 17:19:53 -0700 | 
| commit | d6410408ad2a798c4cc685252c1baa713be0ad69 (patch) | |
| tree | fade33aec84d75a24d83b417a259cc390359cf94 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 19f7b17630f22213d6529ed4cfa728d98d039505 (diff) | |
hwmon: (smsc47m1) 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 <[email protected]>
Reported-by: John Garry <[email protected]>
Cc: John Garry <[email protected]>
Acked-by: John Garry <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions