android_kernel_xiaomi_sm8350/drivers/spi
David Brownell defbd3b4bb atmel_spi: don't always deselect chip between messages
Update chipselect handling for atmel_spi:

  * Teach it how to leave chipselect active between messages; this
    helps various drivers work better.

  * Cope with at91rm0200 errata:  nCS0 can't be managed with GPIOs.
    The MR.PCS value is now updated whenever a chipselect changes.
    (This requires SPI pinmux init for that controller to change,
    and also testing on rm9200; doesn't break at91sam9 or avr32.)

  * Fix minor glitches:  spi_setup() must leave chipselects inactive,
    as must removal of the spi_device.

Also tweak diagnostic messaging to be a bit more useful.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-17 10:23:05 -07:00
..
at25.c sysfs: add parameter "struct bin_attribute *" in .read/.write methods for sysfs binary attributes 2007-07-11 16:09:09 -07:00
atmel_spi.c atmel_spi: don't always deselect chip between messages 2007-07-17 10:23:05 -07: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 spi_lm70llp parport adapter driver 2007-07-17 10:23:04 -07:00
Makefile spi_lm70llp parport adapter driver 2007-07-17 10:23:04 -07:00
mpc52xx_psc_spi.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
omap_uwire.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
pxa2xx_spi.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
spi_bfin5xx.c Blackfin SPI driver: fix bug SPI DMA incomplete transmission 2007-06-11 17:34:17 +08:00
spi_bitbang.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
spi_butterfly.c minor spi_butterfly cleanup 2007-05-08 11:15:15 -07:00
spi_imx.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
spi_lm70llp.c spi_lm70llp parport adapter driver 2007-07-17 10:23:04 -07:00
spi_mpc83xx.c spi_mpc83xx.c underclocking hotfix 2007-07-17 10:23:04 -07:00
spi_s3c24xx_gpio.c [PATCH] spi_s3c2410_gpio.c spi mode 2 and 3 support 2007-02-20 17:10:16 -08:00
spi_s3c24xx.c SPI controller drivers: check for unsupported modes 2007-07-17 10:23:04 -07:00
spi.c SPI dynamic busid generation bugfix 2007-06-04 13:25:09 -07:00
spidev.c spidev compiler warning gone 2007-07-17 10:23:04 -07:00