platform_kernel-5.15/drivers
Dinh Nguyen be536ecab2 UPSTREAM: spi: cadence-quadspi: fix write completion support
commit 98d948eb833104a094517401ed8be26ba3ce9935 upstream.

Some versions of the Cadence QSPI controller does not have the write
completion register implemented(CQSPI_REG_WR_COMPLETION_CTRL). On the
Intel SoCFPGA platform the CQSPI_REG_WR_COMPLETION_CTRL register is
not configured.

Add a quirk to not write to the CQSPI_REG_WR_COMPLETION_CTRL register.

Fixes: 9cb2ff1117 ("spi: cadence-quadspi: Disable Auto-HW polling)
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Link: https://lore.kernel.org/r/20211108200854.3616121-1-dinguyen@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
[IA: backported for linux=5.15.y]
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit e8749d6088)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ie2de2d66caaec0fefa4eb98b9f87911790b118df
2022-05-18 13:02:36 +02:00
..
accessibility speakup-dectlk: Restore pitch setting 2022-02-16 12:56:37 +01:00
acpi ACPI: processor: idle: Avoid falling back to C3 type C-states 2022-05-09 09:14:41 +02:00
amba
android ANDROID: Fix suspicious RCU usage warning 2022-05-17 23:33:11 +00:00
ata ata: pata_marvell: Check the 'bmdma_addr' beforing reading 2022-04-27 14:38:58 +02:00
atm atm: eni: Add check for dma_map_single 2022-03-23 09:16:41 +01:00
auxdisplay auxdisplay: lcd2s: Use proper API to free the instance of charlcd object 2022-03-08 19:12:47 +01:00
base This is the 5.15.41 stable release 2022-05-18 11:31:34 +02:00
bcma
block UPSTREAM: floppy: disable FDRAWCMD by default 2022-05-18 08:59:45 +02:00
bluetooth Bluetooth: btmtksdio: Fix kernel oops in btmtksdio_interrupt 2022-04-08 14:23:41 +02:00
bus bus: sunxi-rsb: Fix the return value of sunxi_rsb_device_create() 2022-05-09 09:14:37 +02:00
cdrom
char Merge 5.15.34 into android13-5.15 2022-04-24 16:57:32 +02:00
clk Merge 5.15.38 into android13-5.15 2022-05-18 09:00:50 +02:00
clocksource Merge 5.15.33 into android13-5.15 2022-04-20 08:18:54 +02:00
comedi
connector
counter
cpufreq Merge 5.15.38 into android13-5.15 2022-05-18 09:00:50 +02:00
cpuidle ANDROID: cpuidle: export cpuidle_driver_state_disabled 2022-03-15 01:37:19 +00:00
crypto crypto: hisilicon/sec - not need to enable sm4 extra mode at HW V3 2022-04-08 14:23:55 +02:00
cxl cxl/regs: Fix size of CXL Capability Header Register 2022-04-08 14:23:30 +02:00
dax dax: make sure inodes are flushed before destroy cache 2022-04-08 14:23:31 +02:00
dca
devfreq
dio
dma dmaengine: imx-sdma: fix init of uart scripts 2022-04-27 14:38:58 +02:00
dma-buf This is the 5.15.41 stable release 2022-05-18 11:31:34 +02:00
edac EDAC/synopsys: Read the error count from the correct register 2022-04-27 14:38:57 +02:00
eisa
extcon ANDROID: align constness of extcon_get_state parameter 2022-02-23 16:49:00 +00:00
firewire firewire: core: extend card->lock in fw_core_handle_bus_reset 2022-05-12 12:30:05 +02:00
firmware ANDROID: Fix suspicious RCU usage warning 2022-05-17 23:33:11 +00:00
fpga
fsi fsi: Aspeed: Fix a potential double free 2022-04-08 14:23:44 +02:00
gnss
gpio gpio: mvebu: drop pwm base assignment 2022-05-12 12:30:22 +02:00
gpu This is the 5.15.41 stable release 2022-05-18 11:31:34 +02:00
greybus greybus: svc: fix an error handling bug in gb_svc_hello() 2022-04-08 14:22:50 +02:00
hid Merge 5.15.33 into android13-5.15 2022-04-20 08:18:54 +02:00
hsi HSI: core: Fix return freed object in hsi_new_client 2022-01-27 11:04:31 +01:00
hv Drivers: hv: balloon: Disable balloon and hot-add accordingly 2022-04-20 09:34:16 +02:00
hwmon hwmon: (f71882fg) Fix negative temperature 2022-05-18 10:26:51 +02:00
hwspinlock
hwtracing Merge 5.15.33 into android13-5.15 2022-04-20 08:18:54 +02:00
i2c i2c: pasemi: Wait for write xfers to finish 2022-04-20 09:34:21 +02:00
i3c i3c: master: dw: check return of dw_i3c_master_get_free_pos() 2022-03-08 19:12:37 +01:00
idle
iio iio:imu:bmi160: disable regulator in error path 2022-05-09 09:14:31 +02:00
infiniband RDMA/irdma: Fix deadlock in irdma_cleanup_cm_core() 2022-05-18 10:26:52 +02:00
input Input: omap4-keypad - fix pm_runtime_get_sync() error checking 2022-04-27 14:38:58 +02:00
interconnect interconnect: Restore sync state by ignoring ipa-virt in provider count 2022-05-18 10:26:53 +02:00
iommu This is the 5.15.41 stable release 2022-05-18 11:31:34 +02:00
ipack
irqchip ANDROID: gic-v3: Update vendor hook to set affinity in GIC v3 2022-04-27 23:00:16 +00:00
isdn isdn: hfcpci: check the return value of dma_set_mask() in setup_hw() 2022-03-16 14:23:36 +01:00
leds leds: lp55xx: initialise output direction from dts 2022-01-27 11:04:21 +01:00
macintosh
mailbox mailbox: imx: fix wakeup failure from freeze mode 2022-04-08 14:24:10 +02:00
mcb
md Merge 5.15.35 into android13-5.15 2022-04-24 16:58:59 +02:00
media FROMLIST: media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-05-14 04:46:09 +00:00
memory memory: renesas-rpc-if: Fix HF/OSPI data transfer in Manual Mode 2022-05-09 09:14:34 +02:00
memstick
message
mfd Merge 5.15.33 into android13-5.15 2022-04-20 08:18:54 +02:00
misc Merge 5.15.38 into android13-5.15 2022-05-18 09:00:50 +02:00
mmc Merge 5.15.39 into android13-5.15 2022-05-18 09:38:58 +02:00
most
mtd Merge 5.15.38 into android13-5.15 2022-05-18 09:00:50 +02:00
mux
net This is the 5.15.41 stable release 2022-05-18 11:31:34 +02:00
nfc nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs 2022-05-12 12:30:10 +02:00
ntb ntb: intel: fix port config status offset for SPR 2022-03-08 19:12:44 +01:00
nubus
nvdimm nvdimm/region: Fix default alignment for small regions 2022-04-08 14:23:48 +02:00
nvme Merge 5.15.36 into android13-5.15 2022-05-18 08:55:59 +02:00
nvmem Revert "Revert "nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property"" 2022-03-23 11:32:22 -07:00
of Merge 5.15.27 into android-5.15 2022-03-17 14:02:09 +01:00
opp Revert "Revert "opp: Expose of-node's name in debugfs"" 2022-05-04 13:39:12 -07:00
parisc parisc: Fix CPU affinity for Lasi, WAX and Dino chips 2022-04-13 20:59:14 +02:00
parport
pci Merge 5.15.39 into android13-5.15 2022-05-18 09:38:58 +02:00
pcmcia pcmcia: fix setting of kthread task states 2022-01-27 11:04:02 +01:00
perf arm_pmu: Validate single/group leader events 2022-04-27 14:39:00 +02:00
phy phy: amlogic: fix error path in phy_g12a_usb3_pcie_probe() 2022-05-09 09:14:34 +02:00
pinctrl pinctrl: pistachio: fix use of irq_of_parse_and_map() 2022-05-09 09:14:36 +02:00
platform platform/surface: aggregator: Fix initialization order when compiling as builtin module 2022-05-18 10:26:48 +02:00
pnp
power Merge 5.15.34 into android13-5.15 2022-04-24 16:57:32 +02:00
powercap
pps pps: clients: gpio: Propagate return value from pps_gpio_probe 2022-04-08 14:23:44 +02:00
ps3
ptp ptp: replace snprintf with sysfs_emit 2022-04-13 20:59:01 +02:00
pwm pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add() 2022-04-08 14:23:44 +02:00
rapidio
ras
regulator regulator: wm8994: Add an off-on delay for WM8994 variant 2022-04-20 09:34:16 +02:00
remoteproc FROMLIST: remoteproc: Use unbounded workqueue for recovery work 2022-05-10 22:03:09 +00:00
reset reset: tegra-bpmp: Restore Handle errors in BPMP response 2022-04-27 14:38:55 +02:00
rpmsg UPSTREAM: rpmsg: ctrl: Introduce new RPMSG_CREATE/RELEASE_DEV_IOCTL controls 2022-04-12 09:46:18 +08:00
rtc rtc: mc146818-lib: fix signedness bug in mc146818_get_time() 2022-04-13 20:59:26 +02:00
s390 s390/lcs: fix variable dereferenced before check 2022-05-18 10:26:50 +02:00
sbus
scsi Merge 5.15.36 into android13-5.15 2022-05-18 08:55:59 +02:00
sh
siox
slimbus slimbus: qcom: Fix IRQ check in qcom_slim_probe 2022-05-18 10:26:55 +02:00
soc FROMLIST: soc: qcom: geni: Disable MMIO tracing for GENI SE 2022-05-09 20:39:53 +00:00
soundwire ASoC: Intel: sof_sdw: fix quirks for 2022 HP Spectre x360 13" 2022-04-08 14:24:02 +02:00
spi UPSTREAM: spi: cadence-quadspi: fix write completion support 2022-05-18 13:02:36 +02:00
spmi
ssb
staging ANDROID: kernel: fix debug_kinfo set twice crash issue 2022-05-13 16:57:46 +08:00
target Merge 5.15.35 into android13-5.15 2022-04-24 16:58:59 +02:00
tc
tee optee: use driver internal tee_context for some rpc 2022-03-02 11:47:51 +01:00
thermal Merge 5.15.38 into android13-5.15 2022-05-18 09:00:50 +02:00
thunderbolt thunderbolt: Runtime PM activate both ends of the device link 2022-01-27 11:04:36 +01:00
tty This is the 5.15.41 stable release 2022-05-18 11:31:34 +02:00
uio
usb This is the 5.15.41 stable release 2022-05-18 11:31:34 +02:00
vdpa vdpa: mlx5: prevent cvq work from hogging CPU 2022-04-13 20:59:15 +02:00
vfio vfio/pci: Fix vf_token mechanism when device-specific VF drivers are used 2022-04-20 09:34:13 +02:00
vhost Merge 5.15.34 into android13-5.15 2022-04-24 16:57:32 +02:00
video This is the 5.15.41 stable release 2022-05-18 11:31:34 +02:00
virt virt: acrn: fix a memory leak in acrn_dev_ioctl() 2022-04-08 14:23:50 +02:00
virtio UPSTREAM: virtio: pci: check bar values read from virtio config space 2022-04-01 15:02:16 +00:00
visorbus
vlynq
vme
w1 w1: w1_therm: fixes w1_seq for ds28ea00 sensors 2022-04-13 20:59:11 +02:00
watchdog watchdog: rti-wdt: Add missing pm_runtime_disable() in probe function 2022-04-08 14:24:11 +02:00
xen swiotlb: Support aligned swiotlb buffers 2022-04-08 14:24:17 +02:00
zorro
Kconfig
Makefile
OWNERS