History

spi: s3c64xx: consider the case when the CS line is not connected

When the CS line is not connected, it is not needed to enable or disable the chip selection functionality from the s3c64xx devices in order to perform a transfer. Set the CS controller logically always enabled already during initialization (by writing '0' in the S3C64XX_SPI_SLAVE_SEL register) and never disable it.

Andi Shyti committed 10 years ago

Commit a92e7c31 parent aa4964c3 files · +12 −1Browse files

Showing the changes to include/linux/platform_data (1 of 3 files). Show all

Unified · Split

include/linux/platform_data/spi-s3c64xx.h+1−0
@@ -38,6 +38,7 @@ struct s3c64xx_spi_csinfo { · 37 unmodified lines
38struct s3c64xx_spi_info {38struct s3c64xx_spi_info {
39 int src_clk_nr;39 int src_clk_nr;
40 int num_cs;40 int num_cs;
41 bool no_cs;
41 int (*cfg_gpio)(void);42 int (*cfg_gpio)(void);
42 dma_filter_fn filter;43 dma_filter_fn filter;
43 void *dma_tx;44 void *dma_tx;