android_kernel_xiaomi_sm7250/drivers
Tony Lindgren 6812cb0d43 spi: spi-pic32: Fix issue with uninitialized dma_slave_config
[ Upstream commit 976c1de1de147bb7f4e0d87482f375221c05aeaf ]

Depending on the DMA driver being used, the struct dma_slave_config may
need to be initialized to zero for the unused data.

For example, we have three DMA drivers using src_port_window_size and
dst_port_window_size. If these are left uninitialized, it can cause DMA
failures.

For spi-pic32, this is probably not currently an issue but is still good to
fix though.

Fixes: 1bcb9f8ceb ("spi: spi-pic32: Add PIC32 SPI master driver")
Cc: Purna Chandra Mandal <purna.mandal@microchip.com>
Cc: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Cc: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20210810081727.19491-2-tony@atomide.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-22 11:47:51 +02:00
..
accessibility
acpi ACPI: NFIT: Fix support for virtual SPA ranges 2021-08-26 08:36:36 -04:00
amba amba: Fix resource leak for drivers without .remove 2021-03-04 09:39:46 +01:00
android
ata libata: fix ata_host_start() 2021-09-22 11:47:50 +02:00
atm atm: nicstar: register the interrupt handler in the right place 2021-07-20 16:16:01 +02:00
auxdisplay auxdisplay: ht16k33: Fix refresh rate handling 2021-03-04 09:39:45 +01:00
base regmap: fix the offset of register error log 2021-09-22 11:47:48 +02:00
bcma
block cryptoloop: add a deprecation warning 2021-09-22 11:47:46 +02:00
bluetooth Bluetooth: btusb: fix bt fiwmare downloading failure issue for qca btsoc. 2021-07-20 16:16:03 +02:00
bus bus: qcom: Put child node before return 2021-05-22 10:59:29 +02:00
cdrom cdrom: gdrom: initialize global variable at init time 2021-05-26 11:48:34 +02:00
char virtio_console: Assure used length from device is limited 2021-07-20 16:16:12 +02:00
clk clk: fix build warning for orphan_list 2021-09-22 11:47:46 +02:00
clocksource clocksource/arm_arch_timer: Improve Allwinner A64 timer workaround 2021-07-20 16:16:04 +02:00
connector
cpufreq cpufreq: armada-37xx: forbid cpufreq for 1.2 GHz variant 2021-08-26 08:36:45 -04:00
cpuidle
crypto crypto: qat - do not export adf_iov_putmsg() 2021-09-22 11:47:50 +02:00
dax
dca
devfreq
dio
dma dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available 2021-08-26 08:36:44 -04:00
dma-buf dma-buf/sync_file: Don't leak fences on merge failure 2021-07-28 11:13:45 +02:00
edac EDAC/ti: Add missing MODULE_DEVICE_TABLE 2021-07-20 16:15:45 +02:00
eisa
extcon extcon: max8997: Add missing modalias string 2021-07-20 16:15:57 +02:00
firewire firewire: nosy: Fix a use-after-free bug in nosy_ioctl() 2021-04-07 12:48:50 +02:00
firmware firmware: arm_scmi: Ensure drivers provide a probe function 2021-08-08 08:54:29 +02:00
fmc
fpga
fsi fsi/sbefifo: Fix reset timeout 2021-07-20 16:15:55 +02:00
gnss
gpio gpio: pca953x: Add support for the On Semi pca9655 2021-07-20 16:16:09 +02:00
gpu gpu: ipu-v3: Fix i.MX IPU-v3 offset calculations for (semi)planar U/V formats 2021-09-22 11:47:45 +02:00
hid HID: wacom: Correct base usage for capacitive ExpressKey status bits 2021-07-20 16:15:46 +02:00
hsi HSI: core: fix resource leaks in hsi_add_client_from_dt() 2021-05-22 10:59:34 +02:00
hv hv_utils: Fix passing zero to 'PTR_ERR' warning 2021-07-20 16:15:45 +02:00
hwmon hwmon: (max31790) Fix fan speed reporting for fan7..12 2021-07-20 16:15:48 +02:00
hwspinlock
hwtracing intel_th: Wait until port is in reset before programming it 2021-07-20 16:16:10 +02:00
i2c i2c: dev: zero out array used for i2c reads from userspace 2021-08-26 08:36:36 -04:00
ide block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
idle
iio iio: adc: Fix incorrect exit of for-loop 2021-08-26 08:36:35 -04:00
infiniband IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs() 2021-09-03 09:58:01 +02:00
input Input: hideep - fix the uninitialized use in hideep_nvm_unlock() 2021-07-20 16:16:09 +02:00
iommu iommu/vt-d: Fix agaw for a supported 48 bit guest address width 2021-08-26 08:36:42 -04:00
ipack ipack: tpci200: fix memory leak in the tpci200_register 2021-08-26 08:36:48 -04:00
irqchip irqchip/gic-v3: Fix OF_BAD_ADDR error handling 2021-05-22 10:59:30 +02:00
isdn mISDN: fix possible use-after-free in HFC_cleanup() 2021-07-20 16:15:59 +02:00
leds leds: ktd2692: Fix an error handling path 2021-07-20 16:15:57 +02:00
lightnvm
macintosh
mailbox
mcb
md bcache: add proper error unwinding in bcache_device_init 2021-09-22 11:47:49 +02:00
media media: stkwebcam: fix memory leak in stk_camera_probe 2021-09-22 11:47:46 +02:00
memory memory: fsl_ifc: fix leak of private memory on probe failure 2021-07-20 16:16:15 +02:00
memstick block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
message
mfd mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE 2021-07-20 16:16:08 +02:00
misc misc/libmasm/module: Fix two use after free in ibmasm_init_one 2021-07-20 16:16:07 +02:00
mmc mmc: dw_mmc: Fix hang on data CRC error 2021-08-26 08:36:47 -04:00
mtd mtd: rawnand: marvell: add missing clk_disable_unprepare() on error in marvell_nfc_resume() 2021-07-20 16:15:57 +02:00
mux
net net: ll_temac: Remove left-over debug message 2021-09-22 11:47:47 +02:00
nfc nfc: nfcsim: fix use after free during module unload 2021-08-04 12:23:45 +02:00
ntb
nubus
nvdimm block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
nvme nvme-rdma: don't update queue count when failing to set io queues 2021-09-22 11:47:49 +02:00
nvmem
of of: Fix truncation of memory sizes on 32-bit platforms 2021-07-20 16:15:57 +02:00
opp opp: remove WARN when no valid OPPs remain 2021-09-03 09:58:01 +02:00
oprofile
parisc
parport
pci PCI: Call Max Payload Size-related fixup quirks early 2021-09-22 11:47:48 +02:00
pcmcia pcmcia: i82092: fix a null pointer dereference bug 2021-08-12 13:19:43 +02:00
perf perf/arm_pmu_platform: Fix error handling 2021-05-22 10:59:15 +02:00
phy phy: ti: dm816x: Fix the error handling path in 'dm816x_usb_phy_probe() 2021-07-20 16:15:57 +02:00
pinctrl pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08_irq() 2021-07-20 16:16:06 +02:00
platform platform/x86: toshiba_acpi: Fix missing error code in toshiba_acpi_setup_keyboard() 2021-07-20 16:15:46 +02:00
pnp
power power: supply: max17042_battery: fix typo in MAx17042_TOFF 2021-09-22 11:47:49 +02:00
powercap
pps
ps3
ptp ptp_pch: Restore dependency on PCI 2021-08-26 08:36:46 -04:00
pwm pwm: tegra: Don't modify HW state in .remove callback 2021-07-20 16:16:12 +02:00
rapidio rapidio: handle create_workqueue() failure 2021-05-26 11:48:33 +02:00
ras
regulator regulator: da9052: Ensure enough delay time for .set_voltage_time_sel 2021-07-20 16:15:45 +02:00
remoteproc remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load 2021-02-13 13:51:14 +01:00
reset reset: ti-syscon: fix to_ti_syscon_reset_data macro 2021-07-28 11:13:42 +02:00
rpmsg rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data() 2021-05-22 10:59:42 +02:00
rtc rtc: max77686: Do not enforce (incorrect) interrupt trigger type 2021-07-28 11:13:44 +02:00
s390 s390/cio: add dev_busid sysfs entry for each subchannel 2021-09-22 11:47:50 +02:00
sbus
scsi scsi: core: Avoid printing an error if target_alloc() returns -ENXIO 2021-08-26 08:36:44 -04:00
sfi
sh
siox
slimbus slimbus: ngd: reset dma setup during runtime pm 2021-08-26 08:36:48 -04:00
sn
soc soc/tegra: fuse: Fix Tegra234-only builds 2021-07-28 11:13:43 +02:00
soundwire soundwire: stream: fix memory leak in stream config error path 2021-05-22 10:59:30 +02:00
spi spi: spi-pic32: Fix issue with uninitialized dma_slave_config 2021-09-22 11:47:51 +02:00
spmi
ssb ssb: Fix error return code in ssb_bus_scan() 2021-07-20 16:15:50 +02:00
staging staging: rtl8723bs: Fix a resource leak in sd_int_dpc 2021-08-12 13:19:43 +02:00
target scsi: target: Fix protect handling in WRITE SAME(32) 2021-07-28 11:13:48 +02:00
tc
tee optee: Clear stale cache entries during initialization 2021-08-12 13:19:42 +02:00
thermal thermal/core: Correct function name thermal_zone_device_unregister() 2021-07-28 11:13:43 +02:00
thunderbolt thunderbolt: dma_port: Fix NVM read buffer bounds and offset issue 2021-06-03 08:38:04 +02:00
tty vt_kdsetmode: extend console locking 2021-09-03 09:58:02 +02:00
uio
usb usb: mtu3: fix the wrong HS mult value 2021-09-22 11:47:48 +02:00
uwb
vfio vfio/pci: Handle concurrent vma faults 2021-07-20 16:15:58 +02:00
vhost vringh: Use wiov->used to check for read/write desc order 2021-09-03 09:58:02 +02:00
video fbmem: add margin check to fb_check_caps() 2021-09-03 09:58:02 +02:00
virt
virtio virtio_pci: Support surprise removal of virtio pci device 2021-09-03 09:58:02 +02:00
visorbus visorbus: fix error return code in visorchipset_init() 2021-07-20 16:15:55 +02:00
vlynq
vme
w1 w1: ds2438: fixing bug that would always get page0 2021-07-20 16:16:07 +02:00
watchdog Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout" 2021-08-08 08:54:29 +02:00
xen xen/events: Fix race in set_evtchn_to_irq 2021-08-26 08:36:39 -04:00
zorro
Kconfig
Makefile