android_kernel_samsung_a7y1.../drivers
Guenter Roeck 3090259c1d hwmon: (w83627hf) Use request_muxed_region for Super-IO accesses
[ Upstream commit e95fd518d05bfc087da6fcdea4900a57cfb083bd ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 13:41:26 +02:00
..
accessibility
acpi ACPI: PM: Avoid attaching ACPI PM domain to certain devices 2020-04-07 13:07:24 +02:00
amba
android
ata libata: Ensure ata_port probe has completed before detach 2020-04-07 13:20:53 +02:00
atm atm: zatm: Fix empty body Clang warnings 2020-04-07 12:35:08 +02:00
auxdisplay
base
battery
battery_v2
bcma
block xen/blkfront: Adjust indentation in xlvbd_alloc_gendisk 2020-04-07 13:38:45 +02:00
bluetooth Bluetooth: btusb: fix PM leak in error case of setup 2020-04-07 13:24:51 +02:00
bts
bus
ccic
cdrom cdrom: respect device capabilities during opening action 2020-04-07 13:23:35 +02:00
char hwrng: omap3-rom - Call clk_disable_unprepare() on exit only if not idled 2020-04-07 13:20:24 +02:00
clk clk: armada-xp: fix refcount leak in axp_clk_init() 2020-04-07 13:40:01 +02:00
clocksource clocksource/drivers/sun5i: Fail gracefully when clock rate is unavailable 2020-04-07 13:40:44 +02:00
connector
cpufreq cpufreq: Register drivers only after CPU devices have been registered 2020-04-07 13:21:35 +02:00
cpuidle cpuidle: Do not unset the driver if it is there already 2020-04-07 13:07:18 +02:00
crypto crypto: vmx - Avoid weird build failures 2020-04-07 13:21:48 +02:00
dca
devfreq PM / devfreq: Don't fail devfreq_dev_release if not in list 2020-04-07 13:24:09 +02:00
dio
dma dmaengine: coh901318: Remove unused variable 2020-04-07 12:44:51 +02:00
dma-buf
edac EDAC/ghes: Fix grain calculation 2020-04-07 13:21:28 +02:00
eisa
extcon extcon: sm5502: Reset registers during initialization 2020-04-07 13:20:38 +02:00
fingerprint
firewire net: add annotations on hh->hh_len lockless accesses 2020-04-07 13:25:04 +02:00
firmware gsmi: Fix bug in append_to_eventlog sysfs handler 2020-04-07 12:34:33 +02:00
five
fmc
fpga
gator
gpio gpio: Fix error message on out-of-range GPIO in lookup table 2020-04-07 13:36:46 +02:00
gps
gpu drm/nouveau/pmu: don't print reply values if exec is false 2020-04-07 13:40:39 +02:00
gud
hid HID: hidraw, uhid: Always report EPOLLOUT 2020-04-07 13:36:12 +02:00
hsi
hv
hwmon hwmon: (w83627hf) Use request_muxed_region for Super-IO accesses 2020-04-07 13:41:26 +02:00
hwspinlock
hwtracing
i2c i2c: imx: don't print error message on probe defer 2020-04-07 12:45:01 +02:00
ide
idle
iio iio: imu: adis16480: assign bias value only if operation succeeded 2020-04-07 13:37:00 +02:00
infiniband RDMA/ocrdma: Fix out of bounds index check in query pkey 2020-04-07 13:40:05 +02:00
input Input: nomadik-ske-keypad - fix a loop timeout test 2020-04-07 13:39:41 +02:00
iommu iommu: Remove device link to group on failure 2020-04-07 13:36:44 +02:00
ipack
irqchip irqchip: ingenic: Error out if IRQ domain creation failed 2020-04-07 13:23:09 +02:00
isdn staging: gigaset: add endpoint-type sanity check 2020-04-07 13:06:29 +02:00
leds
lguest
lightnvm
macintosh macintosh/windfarm_smu_sat: Fix debug output 2020-04-07 12:35:02 +02:00
mailbox
mcb
md block: fix an integer overflow in logical block size 2020-04-07 13:37:29 +02:00
media media: davinci-isif: avoid uninitialized variable use 2020-04-07 13:41:11 +02:00
memory
memstick
message scsi: mptfusion: Fix double fetch bug in ioctl 2020-04-07 13:37:43 +02:00
mfd mfd: max8997: Enale irq-wakeup unconditionally 2020-04-07 12:35:27 +02:00
misc scsi: enclosure: Fix stale device oops with hot replug 2020-04-07 13:36:54 +02:00
mmc mmc: sdhci: Update the tuning failed messages to pr_debug level 2020-04-07 13:24:04 +02:00
motor
mtd mtd: spear_smi: Fix Write Burst mode 2020-04-07 13:06:47 +02:00
muic
net ehea: Fix a copy-paste err in ehea_init_port_res 2020-04-07 13:41:20 +02:00
nfc NFC: nxp-nci: Fix NULL pointer dereference after I2C communication error 2020-04-07 12:44:04 +02:00
ntb ntb: intel: fix return value for ndev_vec_mask() 2020-04-07 12:36:03 +02:00
nubus
nvdimm
nvme
nvmem
of
oprofile
parisc
parport parport: load lowlevel driver if ports not found 2020-04-07 13:21:33 +02:00
pci PCI/MSI: Fix incorrect MSI-X masking on resume 2020-04-07 13:12:43 +02:00
pcmcia
perf
phy
pinctrl pinctrl: sh-pfc: sh73a0: Fix fsic_spdif pin groups 2020-04-07 13:40:29 +02:00
platform platform/x86: asus-wmi: Fix keyboard brightness cannot be set to 0 2020-04-07 13:36:58 +02:00
pnp
power PM / AVS: SmartReflex: NULL check before some freeing functions is not needed 2020-04-07 12:41:14 +02:00
powercap
pps
ps3
ptp
pwm pwm: Clear chip_data in pwm_put() 2020-04-07 12:43:26 +02:00
rapidio
ras
regulator regulator: wm831x-dcdc: Fix list of wm831x_dcdc_ilim from mA to uA 2020-04-07 13:40:48 +02:00
remoteproc
reset
rpmsg
rtc rtc: pm8xxx: fix unintended sign extension 2020-04-07 13:40:22 +02:00
s390 scsi: zfcp: trace channel log even for FCP command responses 2020-04-07 13:07:37 +02:00
sbus
scsi scsi: qla2xxx: Unregister chrdev if module initialization fails 2020-04-07 13:41:22 +02:00
security/samsung/icdrv
sensorhub
sensors
sfi
sh
sn
soc
spi spi: bcm2835aux: fix driver to not allow 65535 (=-1) cs-gpios 2020-04-07 13:41:18 +02:00
spmi
ssb
staging staging: comedi: ni_mio_common: protect register write overflow 2020-04-07 13:39:16 +02:00
switch
target scsi: target: core: Fix a pr_debug() argument 2020-04-07 13:38:56 +02:00
tc
tee
thermal thermal: Fix deadlock in thermal thermal_zone_device_check 2020-04-07 12:46:09 +02:00
thunderbolt
trace
tty tty: ipwireless: Fix potential NULL pointer dereference 2020-04-07 13:40:15 +02:00
uh
uio
usb cdc-wdm: pass return value of recover_from_urb_loss 2020-04-07 13:40:35 +02:00
uwb
vfio vfio_pci: Enable memory accesses before calling pci_map_rom 2020-04-07 13:40:33 +02:00
vhost
video fbdev: chipsfb: remove set but not used variable 'size' 2020-04-07 13:40:24 +02:00
virt
virtio virtio-balloon: fix managed page counts when migrating pages between zones 2020-04-07 13:06:49 +02:00
vision
vlynq
vme
w1
watchdog
xen xen, cpu_hotplug: Prevent an out of bounds access 2020-04-07 13:40:54 +02:00
zorro
Kconfig
Makefile