WSL2-Linux-Kernel/drivers/spi
Alexander Sverdlin f3b6159e6a of/spi: Honour "status=disabled" property of device
Currently of_register_spi_devices() function registers all SPI devices,
independetly from their status property in device tree. According to
"ePAPR 1.1" spec, device should only be registered if there is no
"status" property, or it has "ok" (or "okay") value (see
of_device_is_available()). In case of "platform devices",
of_platform_device_create_pdata() checks for "status" and ensures
that disabled devices are not pupulated. But such check for SPI buses
was missing until now. Fix it.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@sysgo.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2012-11-29 17:36:57 +00:00
..
Kconfig Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2012-10-10 11:10:41 +09:00
Makefile Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-10-09 16:08:04 +09:00
spi-altera.c spi: spi-altera: Use of_match_ptr 2012-08-17 22:56:18 +01:00
spi-ath79.c
spi-atmel.c
spi-au1550.c spi: fix comment/printk typos in spi 2012-09-01 08:53:27 -07:00
spi-bcm63xx.c Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-08-25 11:45:04 -07:00
spi-bfin-sport.c spi: fix comment/printk typos in spi 2012-09-01 08:53:27 -07:00
spi-bfin5xx.c
spi-bitbang-txrx.h
spi-bitbang.c
spi-butterfly.c
spi-coldfire-qspi.c spi/coldfire-qspi: Drop extra calls to spi_master_get in suspend/resume functions 2012-08-17 22:46:41 +01:00
spi-davinci.c Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2012-10-10 11:10:41 +09:00
spi-dw-mid.c
spi-dw-mmio.c
spi-dw-pci.c
spi-dw.c
spi-dw.h
spi-ep93xx.c ARM: ep93xx: move platform_data definitions 2012-09-14 11:16:55 +02:00
spi-falcon.c
spi-fsl-espi.c
spi-fsl-lib.c
spi-fsl-lib.h
spi-fsl-spi.c
spi-gpio.c spi/gpio: Fix stub for spi_gpio_probe_dt() 2012-09-07 08:23:06 +08:00
spi-imx.c spi: Updates for v3.7 2012-10-02 17:26:42 -07:00
spi-lm70llp.c
spi-mpc52xx-psc.c spi/mpc52xx-psc: Avoid access to freed memory in device remove function 2012-08-22 19:26:36 +01:00
spi-mpc52xx.c spi/mpc52xx: Fix device remove function 2012-08-22 19:26:36 +01:00
spi-mpc512x-psc.c spi/mpc512x-psc: Avoid access to freed memory in device remove function 2012-08-22 19:26:36 +01:00
spi-mxs.c spi: mxs: Terminate DMA in case of DMA timeout 2012-10-17 16:11:09 +09:00
spi-nuc900.c ARM: w90x900: move platform_data definitions 2012-09-14 11:18:59 +02:00
spi-oc-tiny.c spi: fix comment/printk typos in spi 2012-09-01 08:53:27 -07:00
spi-octeon.c spi: Add SPI master controller for OCTEON SOCs. 2012-08-22 23:46:38 +02:00
spi-omap-100k.c SPI: OMAP: remove unnecessary includes of plat/clock.h 2012-09-22 10:50:01 -06:00
spi-omap-uwire.c ARM: OMAP1: Make plat/mux.h omap1 only 2012-09-20 14:54:57 -07:00
spi-omap2-mcspi.c ARM: soc: late platform updates 2012-10-07 20:55:16 +09:00
spi-orion.c spi: Refactor spi-orion to use SPI framework queue. 2012-08-17 22:56:18 +01:00
spi-pl022.c spi/pl022: Revert recent runtime PM changes 2012-10-23 13:27:30 +01:00
spi-ppc4xx.c spi: fix comment/printk typos in spi 2012-09-01 08:53:27 -07:00
spi-pxa2xx-pci.c
spi-pxa2xx.c
spi-rspi.c spi: spi-rspi: fix build error for the latest shdma driver 2012-10-17 16:32:46 +09:00
spi-s3c24xx-fiq.S
spi-s3c24xx-fiq.h
spi-s3c24xx.c drivers/spi/spi-s3c24xx.c: fix error return code 2012-08-22 17:58:01 +01:00
spi-s3c64xx.c Merge branch 'testing/driver-warnings' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc into fixes 2012-10-19 15:40:18 -07:00
spi-sc18is602.c spi/sc18is602: Return -EINVAL for probe failures due to I2C function mismatch 2012-08-23 12:13:54 +01:00
spi-sh-hspi.c spi: spi-sh-hspi: drop frees of devm_ alloc'd data 2012-09-06 07:44:19 +08:00
spi-sh-msiof.c
spi-sh-sci.c
spi-sh.c
spi-sirf.c
spi-stmp.c spi/stmp: Fix device remove function 2012-08-27 09:37:52 -07:00
spi-ti-ssp.c
spi-tle62x0.c spi: spi-tle62x0: Use module_spi_driver macro 2012-09-06 07:43:15 +08:00
spi-topcliff-pch.c spi: Updates for v3.7 2012-10-02 17:26:42 -07:00
spi-txx9.c
spi-xcomm.c
spi-xilinx.c
spi.c of/spi: Honour "status=disabled" property of device 2012-11-29 17:36:57 +00:00
spidev.c