linux/drivers/spi
Sebastian Andrzej Siewior 0f3e1d27a7 spi/pxa2xx pci: fix the release - remove race
Right now the platform device and its platform data is included in one big
struct which requires its custom ->release function. The problem with the
release function within the driver is that it might be called after the
driver was removed because someone was holding a reference to it and it
was not called right after platform_device_unregister(). So we also free
the platform device memory to which one might hold a reference.

This patch uses the normal pdev functions so this kind of race does not
occur.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-02-15 13:25:36 -07:00
..
amba-pl022.c spi/amba-pl022: fixing compilation warning. 2011-01-14 15:26:07 -07:00
ath79_spi.c SPI: Add SPI controller driver for the Atheros AR71XX/AR724X/AR913X SoCs 2011-01-18 19:30:27 +01:00
atmel_spi.c Merge branch 'master' into for-next 2010-12-22 18:57:02 +01:00
atmel_spi.h
au1550_spi.c
coldfire_qspi.c spi/m68knommu: Coldfire QSPI platform support 2010-12-29 23:28:25 -07:00
davinci_spi.c spi: davinci: shorten variable names 2010-11-18 18:38:38 +05:30
dw_spi_mid.c spi/dw_spi: add DMA support 2010-12-24 01:23:25 -07:00
dw_spi_mmio.c spi/dw_spi: don't treat NULL clk as an error 2011-01-11 08:20:07 -07:00
dw_spi_pci.c spi/dw_spi: add DMA support 2010-12-24 01:23:25 -07:00
dw_spi.c spi/dw_spi Typo change diable to disable. 2010-12-30 23:44:55 -07:00
ep93xx_spi.c
Kconfig SPI: Add SPI controller driver for the Atheros AR71XX/AR724X/AR913X SoCs 2011-01-18 19:30:27 +01:00
Makefile SPI: Add SPI controller driver for the Atheros AR71XX/AR724X/AR913X SoCs 2011-01-18 19:30:27 +01:00
mpc52xx_psc_spi.c spi/mpc52xx-psc-spi: move probe/remove to proper sections 2010-12-24 11:18:34 -07:00
mpc52xx_spi.c spi/mpc52xx-spi: fix annotation for remove()-pointer 2010-12-24 01:57:17 -07:00
mpc512x_psc_spi.c
omap2_mcspi.c Merge branch 'next-spi' of git://git.secretlab.ca/git/linux-2.6 2011-01-07 17:08:46 -08:00
omap_spi_100k.c
omap_uwire.c
orion_spi.c spi/orion: Drop unnecessary null test 2010-09-29 17:31:29 +09:00
pxa2xx_spi_pci.c spi/pxa2xx pci: fix the release - remove race 2011-02-15 13:25:36 -07:00
pxa2xx_spi.c spi/pxa2xx: pass of_node to spi device and set a parent device 2010-12-02 17:55:13 +01:00
spi_bfin5xx.c spi/bfin_spi: only request GPIO on first load 2010-10-22 01:26:46 -06:00
spi_bitbang_txrx.h
spi_bitbang.c
spi_butterfly.c
spi_fsl_espi.c spi/fsl_espi: change the read behaviour of the SPIRF 2010-12-29 23:04:46 -07:00
spi_fsl_lib.c spi/mpc8xxx: refactor the common code for SPI/eSPI controller 2010-10-12 21:38:12 -06:00
spi_fsl_lib.h spi/fsl_spi: Fix compile errors when building on ppc64 2010-10-14 08:30:12 -06:00
spi_fsl_spi.c spi/mpc8xxx: refactor the common code for SPI/eSPI controller 2010-10-12 21:38:12 -06:00
spi_gpio.c spi: spi-gpio.c tests SPI_MASTER_NO_RX bit twice, but not SPI_MASTER_NO_TX 2010-10-02 21:09:08 -06:00
spi_imx.c spi/imx: Add i.MX53 support 2011-01-12 22:50:54 -07:00
spi_lm70llp.c
spi_nuc900.c drivers/spi: Remove unnecessary semicolons 2010-11-14 20:57:20 -07:00
spi_ppc4xx.c
spi_s3c24xx_fiq.h
spi_s3c24xx_fiq.S
spi_s3c24xx_gpio.c
spi_s3c24xx.c
spi_s3c64xx.c spi/s3c64xx: Correction for 16,32 bits bus width 2010-09-29 17:31:33 +09:00
spi_sh_msiof.c spi/spi_sh_msiof: fix wrong address calculation, which leads to an Oops 2011-01-21 09:26:24 -07:00
spi_sh_sci.c
spi_stmp.c
spi_tegra.c spi: tegra: don't treat NULL clk as an error 2011-01-10 16:44:01 -07:00
spi_topcliff_pch.c spi/topcliff: Typo fix threhold to threshold 2010-12-31 17:49:30 -07:00
spi_txx9.c
spi.c spi / PM: Support dev_pm_ops 2010-12-25 15:32:27 +01:00
spidev.c tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
tle62x0.c
xilinx_spi.c spi/xilinx: merge OF support code into main driver 2010-11-09 21:41:28 -07:00