summaryrefslogtreecommitdiff
path: root/arch/arm/mach-davinci/dm365.c
diff options
context:
space:
mode:
authorBrian Niebuhr <bniebuhr@efjohnson.com>2010-08-20 15:32:49 +0400
committerSekhar Nori <nsekhar@ti.com>2010-11-18 16:08:29 +0300
commitcf90fe73504764cbcc2552c7ea69b1866059db30 (patch)
tree6437d026e5ee4781da5f805e65d03eeb7c478e24 /arch/arm/mach-davinci/dm365.c
parent47f44671c0dc92e2b77ff3dd843f742d12510477 (diff)
downloadlinux-cf90fe73504764cbcc2552c7ea69b1866059db30.tar.xz
spi: davinci: remove non-useful interrupt mode support
The interrupt mode support as it stands is another version of poll mode. Even when interrupt mode is selected, the code tight loops on interrupt status register, rendering it totally useless. A completion variable is initialized, but never used. Remove this fake interrupt mode since users can anyway use poll mode with no functional difference. A usefully implemented interrupt mode support can be added later. 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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c
index 80dd159134cb..1e5012e196ba 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,
- .poll_mode = 1, /* 0 -> interrupt mode 1-> polling mode */
};
static struct resource dm365_spi0_resources[] = {