summaryrefslogtreecommitdiff
path: root/drivers/hwmon/vt1211.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-05 18:44:41 +0300
committerGuenter Roeck <linux@roeck-us.net>2019-04-16 03:19:53 +0300
commite95fd518d05bfc087da6fcdea4900a57cfb083bd (patch)
tree1f75021e709148ab6392db5524681f3a344fb6dd /drivers/hwmon/vt1211.c
parentd6410408ad2a798c4cc685252c1baa713be0ad69 (diff)
downloadlinux-e95fd518d05bfc087da6fcdea4900a57cfb083bd.tar.xz
hwmon: (w83627hf) 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: b72656dbc491 ("hwmon: (w83627hf) Stop using globals for I/O port numbers") Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/vt1211.c')
0 files changed, 0 insertions, 0 deletions