linux-uconsole/drivers/spi
Laurent Pinchart 32da4c5715 spi: Fix device unregistration when unregistering the bus master
commit 178db7d30f upstream.

Device are added as children of the bus master's parent device, but
spi_unregister_master() looks for devices to unregister in the bus
master's children. This results in the child devices not being
unregistered.

Fix this by registering devices as direct children of the bus master.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Takahiro AKASHI <akashi@jp.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-27 09:51:09 -07:00
..
amba-pl022.c spi-pl022: Add missing return value update 2011-06-13 09:18:45 -06: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 Haavard Skinnemoen has left Atmel 2011-05-18 23:24:50 +02:00
atmel_spi.h
au1550_spi.c Fix common misspellings 2011-03-31 11:26:23 -03:00
coldfire_qspi.c coldfire_qspi compile fix 2011-05-24 15:17:22 +10:00
davinci_spi.c Merge branch 'spi/next' of git://git.secretlab.ca/git/linux-2.6 2011-03-18 10:56:02 -07:00
dw_spi.c Merge commit 'v2.6.39' into spi/next 2011-05-20 00:43:00 -06:00
dw_spi.h Merge commit 'v2.6.39' into spi/next 2011-05-20 00:43:00 -06:00
dw_spi_mid.c spi/dw_spi: move dw_spi.h into drivers/spi 2011-03-18 10:26:52 -06:00
dw_spi_mmio.c spi/dw_spi: move dw_spi.h into drivers/spi 2011-03-18 10:26:52 -06:00
dw_spi_pci.c spi/dw_spi: move dw_spi.h into drivers/spi 2011-03-18 10:26:52 -06:00
ep93xx_spi.c Fix common misspellings 2011-03-31 11:26:23 -03:00
Kconfig spi/spi_bfin_sport: new driver for a SPI bus via the Blackfin SPORT peripheral 2011-05-27 01:23:54 -06:00
Makefile spi/spi_bfin_sport: new driver for a SPI bus via the Blackfin SPORT peripheral 2011-05-27 01:23:54 -06:00
mpc52xx_psc_spi.c dt/spi: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
mpc52xx_spi.c dt/spi: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
mpc512x_psc_spi.c dt/spi: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
omap2_mcspi.c spi/omap2: fix uninitialized variable 2011-06-03 14:57:07 -06:00
omap_spi_100k.c SPI100k: Fix 8-bit and RX-only transfers 2010-07-03 22:45:44 -06:00
omap_uwire.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
orion_spi.c spi/orion: Drop unnecessary null test 2010-09-29 17:31:29 +09:00
pxa2xx_spi.c Merge branch 'spi/merge' of git://git.secretlab.ca/git/linux-2.6 2011-04-11 15:44:38 -07:00
pxa2xx_spi_pci.c Merge commit 'v2.6.38-rc8' into spi/next 2011-03-12 01:25:53 -07:00
spi.c spi: Fix device unregistration when unregistering the bus master 2012-04-27 09:51:09 -07:00
spi_altera.c spi: New driver for Altera SPI 2011-02-22 14:59:53 -07:00
spi_bfin5xx.c spi/bfin_spi: fix handling of default bits per word setting 2011-06-17 08:27:27 -06:00
spi_bfin_sport.c spi/spi_bfin_sport: new driver for a SPI bus via the Blackfin SPORT peripheral 2011-05-27 01:23:54 -06:00
spi_bitbang.c spi/bitbang: check for setup_transfer during initialization 2011-02-15 15:05:58 -07:00
spi_bitbang_txrx.h spi/bitbang: add support for SPI_MASTER_NO_{TX, RX} modes 2010-07-03 22:45:44 -06:00
spi_butterfly.c spi/bitbang: add support for SPI_MASTER_NO_{TX, RX} modes 2010-07-03 22:45:44 -06:00
spi_fsl_espi.c Fix common misspellings 2011-03-31 11:26:23 -03:00
spi_fsl_lib.c dt/spi: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
spi_fsl_lib.h dt/spi: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
spi_fsl_spi.c dt/spi: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07: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: select master mode for all channels 2011-02-15 15:10:11 -07:00
spi_lm70llp.c spi/bitbang: add support for SPI_MASTER_NO_{TX, RX} modes 2010-07-03 22:45:44 -06:00
spi_nuc900.c spi/spi_nuc900: Use spi_bitbang_stop instead of spi_unregister_master in nuc900_spi_remove 2011-05-20 00:43:07 -06:00
spi_oc_tiny.c spi: add OpenCores tiny SPI driver 2011-02-22 14:59:53 -07:00
spi_ppc4xx.c dt/spi: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
spi_s3c24xx.c spi/spi_s3c24xx: Use spi_bitbang_stop instead of spi_unregister_master in s3c24xx_spi_remove 2011-05-20 00:43:07 -06:00
spi_s3c24xx_fiq.h spi_s3c24xx: add FIQ pseudo-DMA support 2009-12-17 08:57:01 -07:00
spi_s3c24xx_fiq.S spi_s3c24xx: add FIQ pseudo-DMA support 2009-12-17 08:57:01 -07:00
spi_s3c24xx_gpio.c spi/bitbang: add support for SPI_MASTER_NO_{TX, RX} modes 2010-07-03 22:45:44 -06:00
spi_s3c64xx.c spi/s3c64xx: Bug fix for SPI with different FIFO level 2011-07-06 15:03:08 +09:00
spi_sh.c spi/spi_sh: use spi_unregister_master instead of spi_master_put in remove path 2011-05-20 00:43:07 -06:00
spi_sh_msiof.c Merge commit 'v2.6.38-rc8' into spi/next 2011-03-12 01:25:53 -07:00
spi_sh_sci.c spi/bitbang: add support for SPI_MASTER_NO_{TX, RX} modes 2010-07-03 22:45:44 -06:00
spi_stmp.c spi: Fix reversed args to time_before() in Freescale stmp driver. 2010-01-20 13:49:44 -07:00
spi_tegra.c spi/spi_tegra: use spi_unregister_master() instead of spi_master_put() 2011-05-20 00:43:07 -06:00
spi_topcliff_pch.c spi/topcliff: Typo fix threhold to threshold 2010-12-31 17:49:30 -07:00
spi_txx9.c Merge branch 'next-spi' of git://git.secretlab.ca/git/linux-2.6 2009-12-17 15:59:05 -08:00
spidev.c spi/spidev: Add 32 bit compat ioctl() 2011-02-03 09:55:43 -07:00
ti-ssp-spi.c spi: add ti-ssp spi master driver 2011-03-15 08:17:22 -07:00
tle62x0.c spi/tle620x: add missing device_remove_file() 2011-05-26 21:30:25 -06:00
xilinx_spi.c mfd: Use mfd cell platform_data for timberdale cells platform bits 2011-05-26 19:45:05 +02:00