[ARM] pxa/em-x270: explicitly set .gpio_cs in TDO35S SPI chip data

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, April 17, 2009 - 2:59 pm

Gitweb:     http://git.kernel.org/linus/bd9d074098afb5f8693306d22aaf005bfb50d8f7
Commit:     bd9d074098afb5f8693306d22aaf005bfb50d8f7
Parent:     efb12cd20ace78aca03304f356f9c9c0c9ca3f66
Author:     Mike Rapoport <mike@compulab.co.il>
AuthorDate: Tue Apr 14 08:32:55 2009 +0300
Committer:  Eric Miao <eric.miao@marvell.com>
CommitDate: Tue Apr 14 22:55:36 2009 +0800

    [ARM] pxa/em-x270: explicitly set .gpio_cs in TDO35S SPI chip data
    
    After commit a7bb3909b3293d503211d7f6af8ed62c1644b686 ("spi: pxa2xx_spi:
    introduce chipselect GPIO to simplify the common cases") the .gpio_cs
    field in pxa2xx_spi_chip has to be set explicitly.
    
    Signed-off-by: Mike Rapoport <mike@compulab.co.il>
    Signed-off-by: Eric Miao <eric.miao@marvell.com>
---
 arch/arm/mach-pxa/em-x270.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-pxa/em-x270.c b/arch/arm/mach-pxa/em-x270.c
index 67611da..de40f16 100644
--- a/arch/arm/mach-pxa/em-x270.c
+++ b/arch/arm/mach-pxa/em-x270.c
@@ -644,8 +644,9 @@ static struct pxa2xx_spi_master em_x270_spi_info = {
 };
 
 static struct pxa2xx_spi_chip em_x270_tdo24m_chip = {
-	.rx_threshold = 1,
-	.tx_threshold = 1,
+	.rx_threshold	= 1,
+	.tx_threshold	= 1,
+	.gpio_cs	= -1,
 };
 
 static struct tdo24m_platform_data em_x270_tdo24m_pdata = {
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ARM] pxa/em-x270: explicitly set .gpio_cs in TDO35S SPI c ..., Linux Kernel Mailing ..., (Fri Apr 17, 2:59 pm)