2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 01:04:08 +08:00
linux-next/drivers/spi
Grant Likely 4fb4c55824 [POWERPC] mpc52xx_psc_spi device driver must not touch port_config and cdm
It is dangerous for an mpc52xx device driver to modify the port_config
register.  If the driver is probed incorrectly, it will change the pin
IO configuration in ways which may not be compatible with the board.
port_config should be set up by the bootloader, or failing that, in
the platform setup code in arch/powerpc/platforms/52xx.

Also, modifying CDM registers directly can cause a race condition with
other drivers.  Instead call a common routine to modify CDM settings.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Dragos Carp <dragos.carp@toptica.com>
2008-01-26 15:32:19 -07:00
..
at25.c spi: at25 driver is for EEPROM not FLASH 2007-12-05 09:21:18 -08:00
atmel_spi.c atmel_spi: reload RCR before TCR 2007-12-10 19:43:55 -08:00
atmel_spi.h [PATCH] SPI: atmel_spi driver 2007-02-14 08:09:53 -08:00
au1550_spi.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
Kconfig Blackfin arch: punt CONFIG_BFIN -- we already have CONFIG_BLACKFIN 2007-11-23 14:28:44 +08:00
Makefile spi_txx9 controller driver 2007-07-17 10:23:05 -07:00
mpc52xx_psc_spi.c [POWERPC] mpc52xx_psc_spi device driver must not touch port_config and cdm 2008-01-26 15:32:19 -07:00
omap2_mcspi.c OMAP2 McSPI code cleanup 2007-10-16 09:43:09 -07:00
omap_uwire.c SPI driver runtime footprint shrinkage 2007-10-16 09:43:09 -07:00
pxa2xx_spi.c pxa2xx_spi: fix typo in description 2007-12-10 19:43:54 -08:00
spi_bfin5xx.c spi_bfin5xx: fix typo in description 2007-12-10 19:43:55 -08:00
spi_bitbang.c spi_bitbang: always grab lock with irqs blocked 2008-01-08 16:10:35 -08:00
spi_butterfly.c minor spi_butterfly cleanup 2007-05-08 11:15:15 -07:00
spi_imx.c spi_imx: fix typo in description 2007-12-10 19:43:55 -08:00
spi_lm70llp.c spi doesn't need class_device 2007-10-16 09:43:10 -07:00
spi_mpc83xx.c SPI driver runtime footprint shrinkage 2007-10-16 09:43:09 -07:00
spi_s3c24xx_gpio.c spi: S3C2410: add bus number to SPI GPIO driver 2007-11-29 09:24:52 -08:00
spi_s3c24xx.c SPI driver runtime footprint shrinkage 2007-10-16 09:43:09 -07:00
spi_txx9.c spi: fix error paths on txx9spi_probe 2007-11-14 18:45:39 -08:00
spi.c spi: simplify spi_sync() calling convention 2007-12-05 09:21:18 -08:00
spidev.c fix abuses of ptrdiff_t 2007-10-29 07:41:33 -07:00
tle62x0.c tle62x0 driver stops ignoring read errors 2007-11-14 18:45:42 -08:00
xilinx_spi.c SPI driver hotplug/coldplug fixes 2007-08-31 01:42:22 -07:00