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
atmel_spi.h
au1550_spi.c
coldfire_qspi.c
davinci_spi.c
dw_spi_mid.c
dw_spi_mmio.c
dw_spi_pci.c
dw_spi.c
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
mpc52xx_spi.c
mpc512x_psc_spi.c
omap2_mcspi.c
omap_spi_100k.c
omap_uwire.c
orion_spi.c
pxa2xx_spi_pci.c spi/pxa2xx pci: fix the release - remove race 2011-02-15 13:25:36 -07:00
pxa2xx_spi.c
spi_bfin5xx.c
spi_bitbang_txrx.h
spi_bitbang.c
spi_butterfly.c
spi_fsl_espi.c
spi_fsl_lib.c
spi_fsl_lib.h
spi_fsl_spi.c
spi_gpio.c
spi_imx.c
spi_lm70llp.c
spi_nuc900.c
spi_ppc4xx.c
spi_s3c24xx_fiq.h
spi_s3c24xx_fiq.S
spi_s3c24xx_gpio.c
spi_s3c24xx.c
spi_s3c64xx.c
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_topcliff_pch.c
spi_txx9.c
spi.c
spidev.c
tle62x0.c
xilinx_spi.c