linux-stable/drivers/spi
Meng Li ea94191e58
spi: cadence: set cqspi to the driver_data field of struct device
When initialize cadence qspi controller, it is need to set cqspi
to the driver_data field of struct device, because it will be
used in function cqspi_remove/suspend/resume(). Otherwise, there
will be a crash trace as below when invoking these finctions.

Fixes: 31fb632b5d ("spi: Move cadence-quadspi driver to drivers/spi/")
Cc: stable@vger.kernel.org
Signed-off-by: Meng Li <Meng.Li@windriver.com>
Link: https://lore.kernel.org/r/20210311091220.3615-1-Meng.Li@windriver.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-03-11 13:32:32 +00:00
..
atmel-quadspi.c spi: atmel-quadspi: Disable the QSPI IP at suspend() 2021-02-11 13:15:12 +00:00
internals.h
Kconfig spi: Updates for v5.12 2021-02-22 09:19:08 -08:00
Makefile spi: realtek-rtl: Add support for Realtek RTL838x/RTL839x SPI controllers 2021-02-04 18:45:57 +00:00
spi-altera.c spi: altera: Fix memory leak on error path 2021-01-20 16:46:50 +00:00
spi-amd.c spi: amd: Use devm_platform_ioremap_resource() in amd_spi_probe 2020-11-23 20:42:05 +00:00
spi-ar934x.c spi: ar934x: Don't leak SPI master in probe error path 2020-12-07 14:18:59 +00:00
spi-armada-3700.c
spi-at91-usart.c
spi-ath79.c
spi-atmel.c spi: atmel: Put allocated master before return 2021-01-21 18:14:28 +00:00
spi-au1550.c spi: spi-au1550: Fix various whitespace warnings 2021-01-22 16:26:21 +00:00
spi-axi-spi-engine.c
spi-bcm-qspi.c spi: spi-bcm-qspi: style: Simplify bool comparison 2021-01-11 14:03:56 +00:00
spi-bcm-qspi.h
spi-bcm63xx-hsspi.c spi: bcm63xx-hsspi: fix missing clk_disable_unprepare() on error in bcm63xx_hsspi_resume 2020-11-09 19:44:30 +00:00
spi-bcm63xx.c
spi-bcm2835.c spi: bcm2835: Call the dedicated transfer completion function. 2021-01-14 14:27:39 +00:00
spi-bcm2835aux.c spi: bcm2835aux: Call the dedicated transfer completion function. 2021-01-14 14:27:40 +00:00
spi-bitbang-txrx.h
spi-bitbang.c
spi-brcmstb-qspi.c
spi-butterfly.c
spi-cadence-quadspi.c spi: cadence: set cqspi to the driver_data field of struct device 2021-03-11 13:32:32 +00:00
spi-cadence.c spi: cadence: cache reference clock rate during probe 2021-01-15 14:14:38 +00:00
spi-cavium-octeon.c
spi-cavium-thunderx.c
spi-cavium.c
spi-cavium.h
spi-clps711x.c spi: clps711xx: remove redundant white-space 2021-02-04 18:45:59 +00:00
spi-coldfire-qspi.c
spi-davinci.c spi: davinci: Fix use-after-free on unbind 2020-12-07 14:18:47 +00:00
spi-dln2.c
spi-dw-bt1.c spi: dw: Avoid stack content exposure 2021-02-12 12:41:49 +00:00
spi-dw-core.c spi: dw: Add support for 32-bits max xfer size 2020-12-09 12:14:22 +00:00
spi-dw-dma.c spi: dw: Add generic DW SSI status-check method 2020-10-08 23:00:18 +01:00
spi-dw-mmio.c spi: dw: Add support for the Canaan K210 SoC SPI 2020-12-09 12:14:23 +00:00
spi-dw-pci.c spi: dw: Add DWC SSI capability 2020-10-08 23:00:06 +01:00
spi-dw.h spi: dw: Add support for 32-bits max xfer size 2020-12-09 12:14:22 +00:00
spi-ep93xx.c
spi-falcon.c
spi-fsi.c spi: fsi: Fix transfer returning without finalizing message 2020-11-11 12:34:29 +00:00
spi-fsl-cpm.c
spi-fsl-cpm.h
spi-fsl-dspi.c spi: spi-fsl-dspi: Use max_native_cs instead of num_chipselect to set SPI_MCR 2020-12-01 12:17:13 +00:00
spi-fsl-espi.c Merge remote-tracking branch 'spi/for-5.10' into spi-next 2020-10-09 16:01:22 +01:00
spi-fsl-lib.c
spi-fsl-lib.h
spi-fsl-lpspi.c spi: lpspi: Fix use-after-free on unbind 2020-11-12 18:45:56 +00:00
spi-fsl-qspi.c
spi-fsl-spi.c spi: fsl: invert spisel_boot signal on MPC8309 2021-02-01 13:19:00 +00:00
spi-fsl-spi.h
spi-geni-qcom.c spi: spi-geni-qcom: Print an error when we timeout setting the CS 2020-12-18 17:42:17 +00:00
spi-gpio.c spi: gpio: Don't leak SPI master in probe error path 2020-12-07 14:18:54 +00:00
spi-hisi-sfc-v3xx.c spi: hisi-sfc-v3xx: add address mode check 2021-01-27 12:37:30 +00:00
spi-img-spfi.c spi: img-spfi: fix reference leak in img_spfi_resume 2020-11-02 15:53:25 +00:00
spi-imx.c spi: imx: Don't print error on -EPROBEDEFER 2021-01-19 14:09:26 +00:00
spi-iproc-qspi.c
spi-jcore.c
spi-lantiq-ssc.c
spi-lm70llp.c
spi-loopback-test.c
spi-lp8841-rtc.c
spi-mem.c spi: spi-mem: add spi_mem_dtr_supports_op() 2021-02-11 15:51:36 +00:00
spi-meson-spicc.c
spi-meson-spifc.c
spi-mpc52xx-psc.c
spi-mpc52xx.c powerpc updates for 5.12 2021-02-22 14:34:00 -08:00
spi-mpc512x-psc.c
spi-mt65xx.c spi: mediatek: add set_cs_timing support 2021-02-08 11:41:23 +00:00
spi-mt7621.c spi: mt7621: Don't leak SPI master in probe error path 2020-12-07 14:18:59 +00:00
spi-mtk-nor.c spi: spi-mtk-nor: Don't leak SPI master in probe error path 2020-12-07 14:18:53 +00:00
spi-mux.c
spi-mxic.c spi: mxic: Don't leak SPI master in probe error path 2020-12-07 14:18:52 +00:00
spi-mxs.c spi: mxs: fix reference leak in mxs_spi_probe 2020-11-18 18:00:26 +00:00
spi-npcm-fiu.c spi: npcm-fiu: Disable clock in probe error path 2020-12-07 14:19:00 +00:00
spi-npcm-pspi.c
spi-nxp-fspi.c spi: spi-nxp-fspi: fix fspi panic by unexpected interrupts 2020-11-23 14:10:02 +00:00
spi-oc-tiny.c
spi-omap-100k.c
spi-omap-uwire.c
spi-omap2-mcspi.c
spi-orion.c spi: orion: enable support for switching CS every transferred byte 2020-12-28 12:25:31 +00:00
spi-pic32-sqi.c
spi-pic32.c spi: pic32: Don't leak DMA channels in probe error path 2020-11-12 15:16:34 +00:00
spi-pl022.c amba: Make the remove callback return void 2021-02-02 14:25:50 +01:00
spi-ppc4xx.c
spi-pxa2xx-dma.c
spi-pxa2xx-pci.c spi: pxa2xx: Add IDs for the controllers found on Intel Lynxpoint 2021-02-10 17:15:45 +00:00
spi-pxa2xx.c spi: pxa2xx: Add support for Intel Alder Lake PCH-P 2021-01-14 16:46:09 +00:00
spi-pxa2xx.h
spi-qcom-qspi.c spi: spi-qcom-qspi: Use irq trigger flags from firmware 2021-01-13 12:19:50 +00:00
spi-qup.c
spi-rb4xx.c spi: rb4xx: Don't leak SPI master in probe error path 2020-12-07 14:18:55 +00:00
spi-realtek-rtl.c spi: realtek-rtl: Add support for Realtek RTL838x/RTL839x SPI controllers 2021-02-04 18:45:57 +00:00
spi-rockchip.c spi: rockchip: Call the dedicated transfer completion function. 2021-01-14 14:27:40 +00:00
spi-rpc-if.c spi: rpc-if: Gaurd .pm assignment with CONFIG_PM_SLEEP #ifdef check 2021-01-11 16:39:09 +00:00
spi-rspi.c
spi-s3c24xx-regs.h
spi-s3c24xx.c ARM: SoC platform updates 2020-10-24 10:33:08 -07:00
spi-s3c64xx.c
spi-sc18is602.c spi: sc18is602: Don't leak SPI master in probe error path 2020-12-07 14:18:56 +00:00
spi-sh-hspi.c
spi-sh-msiof.c spi: sh-msiof: Fill in controller speed limits 2021-01-13 12:19:09 +00:00
spi-sh-sci.c
spi-sh.c spi: spi-sh: Fix use-after-free on unbind 2020-12-07 14:18:50 +00:00
spi-sifive.c
spi-slave-mt27xx.c
spi-slave-system-control.c
spi-slave-time.c
spi-sprd-adi.c
spi-sprd.c spi: sprd: fix reference leak in sprd_spi_remove 2020-11-11 12:39:32 +00:00
spi-st-ssc4.c spi: st-ssc4: Fix unbalanced pm_runtime_disable() in probe error path 2020-11-12 15:16:35 +00:00
spi-stm32-qspi.c spi: stm32-qspi: fix reference leak in stm32 qspi operations 2020-11-09 19:44:25 +00:00
spi-stm32.c spi: stm32: make spurious and overrun interrupts visible 2021-02-05 19:17:01 +00:00
spi-sun4i.c
spi-sun6i.c spi: spi-sun6i: enable autosuspend feature 2020-10-26 23:29:05 +00:00
spi-synquacer.c spi: spi-synquacer: fix set_cs handling 2021-02-03 16:23:07 +00:00
spi-tegra20-sflash.c spi: tegra20-sflash: fix reference leak in tegra_sflash_resume 2020-11-09 19:44:28 +00:00
spi-tegra20-slink.c spi: tegra20-slink: fix reference leak in slink ops of tegra20 2020-11-09 19:44:27 +00:00
spi-tegra114.c spi: tegra114: fix reference leak in tegra spi ops 2020-11-09 19:44:29 +00:00
spi-tegra210-quad.c spi: tegra210-quad: Add support for hardware dummy cycles transfer 2021-01-06 13:09:32 +00:00
spi-test.h
spi-ti-qspi.c spi: spi-ti-qspi: fix reference leak in ti_qspi_setup 2020-11-09 19:44:26 +00:00
spi-tle62x0.c
spi-topcliff-pch.c
spi-uniphier.c
spi-xcomm.c
spi-xilinx.c
spi-xlp.c
spi-xtensa-xtfpga.c
spi-zynq-qspi.c
spi-zynqmp-gqspi.c
spi.c spi: Updates for v5.12 2021-02-22 09:19:08 -08:00
spidev.c spidev: Add cisco device compatible 2021-01-25 12:53:48 +00:00