diff options
author | Brian Niebuhr <bniebuhr@efjohnson.com> | 2010-08-13 08:41:03 +0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2010-11-18 16:08:24 +0300 |
commit | 7978b8c385a86f0b5b9304e81a1dfb5dcaf21528 (patch) | |
tree | ff13c4dd8d8cd570d57d50f072e8cdab3c97ea5f /arch/arm/mach-davinci/dm365.c | |
parent | 843a713bc53d04f8fac46ddd8693a2cc0422ca5e (diff) | |
download | linux-7978b8c385a86f0b5b9304e81a1dfb5dcaf21528.tar.xz |
spi: davinci: enable both activation and deactivation of chip-selects
Let davinci_spi_chipselect() perform both activation and
deactivation of chip selects. This lets spi_bitbang fully
control chip select activation, as intended by the SPI API.
With this change, the chip select activation code need not
be duplicated in davinci_spi_bufs_{pio|dma}().
Also, keeping chip select active control is removed as a
platform data and simply controlled using information from
spi_bitbang on whether chip slect should be activated or
de-activated.
Signed-off-by: Brian Niebuhr <bniebuhr@efjohnson.com>
Tested-By: Michael Williamson <michael.williamson@criticallink.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/dm365.c')
-rw-r--r-- | arch/arm/mach-davinci/dm365.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c index a12065e87266..cd623db8d7d7 100644 --- a/arch/arm/mach-davinci/dm365.c +++ b/arch/arm/mach-davinci/dm365.c @@ -626,7 +626,6 @@ static struct davinci_spi_platform_data dm365_spi0_pdata = { .version = SPI_VERSION_1, .num_chipselect = 2, .clk_internal = 1, - .cs_hold = 1, .intr_level = 0, .poll_mode = 1, /* 0 -> interrupt mode 1-> polling mode */ .c2tdelay = 0, |