summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@samsung.com>2016-06-13 11:44:09 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:51:01 +0900
commit21075927dd024275e3414894568c7ee60756fc22 (patch)
tree8e0765e71b91a23a27b2313b94ca6c7860aafb02 /include
parent35dcbe2486f40f9c8ecc5bf44596ffc43ff1461a (diff)
spi: s3c64xx: add the BROKEN_CS case when setting up the transfer
The CS line might be disconneced ("broken"), therefore unused. In this case, the device doesn't need to wait for the user to handle the CS line for selecting the slave. The data will then be automatically transferred without taking the CS line status into account. Change-Id: Ibddf87721b7d882efbdad9c978b79a3e19189b3e Signed-off-by: Andi Shyti <andi.shyti@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/spi-s3c64xx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/spi-s3c64xx.h b/include/linux/platform_data/spi-s3c64xx.h
index d3889b98a1a1..ee1fb3a61b1f 100644
--- a/include/linux/platform_data/spi-s3c64xx.h
+++ b/include/linux/platform_data/spi-s3c64xx.h
@@ -38,6 +38,7 @@ struct s3c64xx_spi_csinfo {
struct s3c64xx_spi_info {
int src_clk_nr;
int num_cs;
+ bool broken_cs;
int (*cfg_gpio)(void);
dma_filter_fn filter;
};