android_kernel_motorola_sm6375/drivers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lars-Peter Clausen 20ea39ef9f iio: Fix scan mask selection
The trialmask is expected to have all bits set to 0 after allocation.
Currently kmalloc_array() is used which does not zero the memory and so
random bits are set. This results in random channels being enabled when
they shouldn't. Replace kmalloc_array() with kcalloc() which has the same
interface but zeros the memory.

Note the fix is actually required earlier than the below fixes tag, but
will require a manual backport due to move from kmalloc to kmalloc_array.

Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Alexandru Ardelean <[email protected]>
Fixes commit 057ac1acdf ("iio: Use kmalloc_array() in iio_scan_mask_set()").
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
2019-03-09 16:55:06 +00:00
..
accessibility
acpi drm next pull request for 5.1 2019-03-08 08:23:15 -08:00
amba Merge branch 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm 2018-06-06 13:49:25 -07:00
android binder: reduce mmap_sem write-side lock 2019-02-19 14:50:11 +01:00
ata for-5.1/block-20190302 2019-03-08 14:12:17 -08:00
atm atm: he: fix sign-extension overflow on large shift 2019-01-17 11:27:00 -08:00
auxdisplay auxdisplay: ht16k33: fix potential user-after-free on module unload 2019-02-15 19:48:39 +01:00
base This is the bulk of GPIO changes for the v5.1 cycle: 2019-03-08 10:09:53 -08:00
bcma bcma: use dev_* printing functions 2019-01-10 13:39:19 +02:00
block for-5.1/block-20190302 2019-03-08 14:12:17 -08:00
bluetooth Bluetooth: mediatek: add support for MediaTek MT7663U and MT7668U UART devices 2019-03-02 19:51:23 +01:00
bus ARM: SoC driver updates for 5.1 2019-03-06 09:41:12 -08:00
cdrom cdrom: Fix race condition in cdrom_sysctl_register 2019-02-08 06:46:59 -07:00
char A couple of bug fixes and a bunch of code cleanup: 2019-03-08 09:19:55 -08:00
clk ARM: SoC driver updates for 5.1 2019-03-06 09:41:12 -08:00
clocksource ARM: New SoC family support 2019-03-06 10:15:42 -08:00
connector
cpufreq Power management updates for 5.1-rc1 2019-03-06 12:59:46 -08:00
cpuidle cpuidle: dt: bail out if the idle-state DT node is not compatible 2019-02-01 12:58:58 +01:00
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2019-03-05 09:09:55 -08:00
dax mm, devm_memremap_pages: fix shutdown handling 2018-12-28 12:11:47 -08:00
dca
devfreq PM / devfreq: add devfreq_suspend/resume() functions 2018-12-11 11:40:13 +09:00
dio
dma mm: replace all open encodings for NUMA_NO_NODE 2019-03-05 21:07:14 -08:00
dma-buf drm-misc-next for 5.1: 2019-01-10 05:58:52 +10:00
edac Merge branch 'ras-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-03-08 09:11:39 -08:00
eisa eisa: consolidate EISA Kconfig entry in drivers/eisa 2018-11-23 11:46:22 +09:00
extcon extcon: ptn5150: Fix return value check in ptn5150_i2c_probe() 2019-02-11 17:21:38 +09:00
firewire scsi: communicate max segment size to the DMA mapping code 2019-01-22 20:40:59 -05:00
firmware Merge branch 'stable/for-linus-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/ibft 2019-03-08 09:50:14 -08:00
fmc
fpga Merge 5.0-rc6 into char-misc-next 2019-02-11 09:05:58 +01:00
fsi fsi: Add On-Chip Controller (OCC) driver 2018-12-02 16:25:28 -08:00
gnss gnss: add driver for mediatek receivers 2019-02-15 16:54:38 +01:00
gpio This is the bulk of GPIO changes for the v5.1 cycle: 2019-03-08 10:09:53 -08:00
gpu drm next pull request for 5.1 2019-03-08 08:23:15 -08:00
hid Merge branch 'for-5.1/wacom' into for-linus 2019-03-05 15:43:05 +01:00
hsi HSI: omap_ssi_port: fix debugfs_simple_attr.cocci warnings 2019-02-14 12:36:21 +01:00
hv Char/Misc driver patches for 5.1-rc1 2019-03-06 14:18:59 -08:00
hwmon hwmon: (ad7418) Add device tree probing 2019-02-25 09:06:00 -08:00
hwspinlock hwspinlock: fix return value check in stm32_hwspinlock_probe() 2019-01-03 11:42:10 -08:00
hwtracing Char/Misc driver patches for 5.1-rc1 2019-03-06 14:18:59 -08:00
i2c Merge branch 'i2c/for-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2019-03-08 09:27:33 -08:00
i3c - Add a /* fall-through */ comment in the dw-i3c-master driver 2019-03-04 19:05:02 -08:00
ide ide: ensure atapi sense request aren't preempted 2019-01-31 08:25:09 -07:00
idle intel_idle: add support for Jacobsville 2019-02-15 10:49:14 +01:00
iio iio: Fix scan mask selection 2019-03-09 16:55:06 +00:00
infiniband mm: replace all open encodings for NUMA_NO_NODE 2019-03-05 21:07:14 -08:00
input - New Drivers 2019-03-08 10:02:58 -08:00
interconnect interconnect: Revert to previous config if any request fails 2019-01-22 13:37:25 +01:00
iommu Driver core patches for 5.1-rc1 2019-03-06 14:52:48 -08:00
ipack
irqchip ARM: SoC: late updates for linux-5.1 2019-03-06 10:22:26 -08:00
isdn isdn: mISDN: Fix potential NULL pointer dereference of kzalloc 2019-03-04 10:54:48 -08:00
leds LED updates for 5.1-rc1 2019-03-04 19:33:04 -08:00
lightnvm lightnvm: pblk: fix race condition on GC 2019-02-11 08:18:08 -07:00
macintosh macintosh/via-cuda: Don't rely on Cuda to end a transfer 2019-01-22 10:21:45 +01:00
mailbox mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush timeout issue 2019-02-18 10:40:58 -06:00
mcb mcb: add Altera PCI ID to mcb-pci 2018-03-14 19:13:48 +01:00
md for-5.1/block-20190302 2019-03-08 14:12:17 -08:00
media ASoC: Updates for v5.1 2019-02-08 14:20:32 +01:00
memory
memstick MMC core: 2018-12-28 16:52:18 -08:00
message scsi: flip the default on use_clustering 2018-12-18 23:13:12 -05:00
mfd This is the bulk of GPIO changes for the v5.1 cycle: 2019-03-08 10:09:53 -08:00
misc Merge branch 'i2c/for-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2019-03-08 09:27:33 -08:00
mmc for-5.1/block-20190302 2019-03-08 14:12:17 -08:00
mtd spi: Updates for v5.1 2019-03-04 19:23:56 -08:00
mux This is the bulk of GPIO changes for the v4.20 series: 2018-10-23 08:45:05 +01:00
net powerpc updates for 5.1 2019-03-07 12:56:26 -08:00
nfc NFC: nfcmrvl_uart: fix OF child-node lookup 2018-10-23 13:28:53 -05:00
ntb Merge 5.0-rc4 into char-misc-next 2019-01-28 08:13:52 +01:00
nubus nubus: Set default dma mask for nubus_board devices 2018-07-23 15:07:12 +02:00
nvdimm Merge 5.0-rc6 into driver-core-next 2019-02-11 09:09:02 +01:00
nvme for-5.1/block-20190302 2019-03-08 14:12:17 -08:00
nvmem Char/Misc driver patches for 5.1-rc1 2019-03-06 14:18:59 -08:00
of net: phy: fixed-phy: Drop GPIO from fixed_phy_add() 2019-02-04 18:33:36 -08:00
opp Power management updates for 5.1-rc1 2019-03-06 12:59:46 -08:00
oprofile treewide: Use array_size() in vmalloc() 2018-06-12 16:19:22 -07:00
parisc parisc: Use F_EXTEND() macro in iosapic code 2019-02-21 20:37:12 +01:00
parport parport: daisy: use new parport device model 2019-02-13 19:45:56 +01:00
pci Driver core patches for 5.1-rc1 2019-03-06 14:52:48 -08:00
pcmcia Included in this update: 2019-01-05 11:23:17 -08:00
perf perf/aux: Make perf_event accessible to setup_aux() 2019-02-06 10:00:39 -03:00
phy drm next pull request for 5.1 2019-03-08 08:23:15 -08:00
pinctrl This is the bulk of GPIO changes for the v5.1 cycle: 2019-03-08 10:09:53 -08:00
platform This is the bulk of GPIO changes for the v5.1 cycle: 2019-03-08 10:09:53 -08:00
pnp ACPI/ACPICA: Trivial: fix spelling mistakes and fix whitespace formatting 2019-02-24 21:12:01 +01:00
power power: reset: at91-reset: add support for sam9x60 SoC 2019-02-20 00:41:01 +01:00
powercap powercap/intel_rapl: add Ice Lake mobile 2019-02-18 11:31:39 +01:00
pps Kconfig updates for v4.21 2018-12-29 13:03:29 -08:00
ps3
ptp Merge branch 'timers-2038-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-03-05 14:08:26 -08:00
pwm pwm: imx: Add ipg clock operation 2018-12-24 12:06:56 +01:00
rapidio rapidio/mport_cdev: mark expected switch fall-through 2019-03-07 18:32:02 -08:00
ras
regulator regulator: mc13xxx: Constify regulator_ops variables 2019-03-04 00:01:08 +00:00
remoteproc virtio: don't allocate vqs when names[i] = NULL 2019-01-14 20:15:19 -05:00
reset Reset controller changes for v5.1 2019-02-15 17:21:32 +01:00
rpmsg rpmsg: glink: smem: Support rx peak for size less than 4 bytes 2018-10-03 17:04:32 -07:00
rtc rtc: pic32: convert to SPDX identifier 2019-03-04 20:23:15 +01:00
s390 s390 updates for the 5.1 merge window 2019-03-05 11:13:10 -08:00
sbus Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next 2018-12-26 10:32:18 -08:00
scsi for-5.1/block-20190302 2019-03-08 14:12:17 -08:00
sfi mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
sh sh: introduce a sh_cacheop_vaddr helper 2018-08-02 13:54:06 +02:00
siox headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
slimbus slimbus: core: add missing spin_lock_init on txn_lock 2019-01-22 13:34:35 +01:00
sn
soc ARM: SoC driver updates for 5.1 2019-03-06 09:41:12 -08:00
soundwire soundwire: intel: constify snd_soc_dai_ops structures 2018-11-12 15:36:06 +05:30
spi Merge branch 'spi-5.1' into spi-next 2019-03-04 15:32:51 +00:00
spmi spmi: pmic-arb: select IRQ_DOMAIN_HIERARCHY in Kconfig 2019-02-14 09:14:50 +01:00
ssb ssb: chipcommon: fix fall-through annotation 2018-10-05 11:37:20 +03:00
staging staging: iio: ad7192: Fix ad7193 channel address 2019-03-09 16:55:06 +00:00
target scsi: target: make the pi_prot_format ConfigFS path readable 2019-02-04 21:40:32 -05:00
tc
tee ARM: SoC driver updates for 5.1 2019-03-06 09:41:12 -08:00
thermal Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal 2019-03-08 09:52:41 -08:00
thunderbolt thunderbolt: Export IOMMU based DMA protection support to userspace 2018-12-05 12:01:56 +03:00
tty audit/stable-5.1 PR 20190305 2019-03-07 12:20:11 -08:00
uio driver: uio: fix possible use-after-free in __uio_register_device 2019-01-31 16:36:52 +01:00
usb USB/PHY patches for 5.1-rc1 2019-03-06 16:48:27 -08:00
uwb uwb: use struct_size() in kzalloc() 2019-01-18 09:58:04 +01:00
vfio powerpc updates for 5.1 2019-03-07 12:56:26 -08:00
vhost vhost: correctly check the return value of translate_desc() in log_used() 2019-02-19 13:14:45 -08:00
video - Fix-ups 2019-03-08 09:58:20 -08:00
virt virt: vbox: Mark expected switch fall-through 2019-02-27 16:00:20 +01:00
virtio virtio: drop internal struct from UAPI 2019-02-05 15:29:48 -05:00
visorbus
vlynq
vme
w1 treewide: surround Kconfig file paths with double quotes 2018-12-22 00:25:54 +09:00
watchdog - New Drivers 2019-03-08 10:02:58 -08:00
xen xen/balloon: mark inflated pages PG_offline 2019-03-05 21:07:14 -08:00
zorro
Kconfig interconnect: Add generic on-chip interconnect API 2019-01-22 13:37:25 +01:00
Makefile interconnect: Add generic on-chip interconnect API 2019-01-22 13:37:25 +01:00