summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-04 11:16:20 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-31 06:47:27 -0700
commitdc1adde622e5de70b647ed49fedb64fd9749be39 (patch)
treed219bbb6d3c86ca2535e0ee9bbc08699893ec75f /certs
parentdc5820f72e9183f56c44a6a4a456e677d3afcaa8 (diff)
hwmon: (pc87427) Use request_muxed_region for Super-IO accesses
[ Upstream commit 755a9b0f8aaa5639ba5671ca50080852babb89ce ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions