aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include
diff options
context:
space:
mode:
authorBrian Niebuhr <bniebuhr@efjohnson.com>2010-08-20 17:02:49 +0530
committerSekhar Nori <nsekhar@ti.com>2010-11-18 18:38:29 +0530
commitcf90fe73504764cbcc2552c7ea69b1866059db30 (patch)
tree6437d026e5ee4781da5f805e65d03eeb7c478e24 /arch/arm/mach-davinci/include
parent47f44671c0dc92e2b77ff3dd843f742d12510477 (diff)
downloadkernel_samsung_smdk4412-cf90fe73504764cbcc2552c7ea69b1866059db30.zip
kernel_samsung_smdk4412-cf90fe73504764cbcc2552c7ea69b1866059db30.tar.gz
kernel_samsung_smdk4412-cf90fe73504764cbcc2552c7ea69b1866059db30.tar.bz2
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/include')
-rw-r--r--arch/arm/mach-davinci/include/mach/spi.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/include/mach/spi.h b/arch/arm/mach-davinci/include/mach/spi.h
index 483b055..e68afe2 100644
--- a/arch/arm/mach-davinci/include/mach/spi.h
+++ b/arch/arm/mach-davinci/include/mach/spi.h
@@ -30,8 +30,6 @@ struct davinci_spi_platform_data {
u8 version;
u8 num_chipselect;
u8 clk_internal;
- u8 intr_level;
- u8 poll_mode;
u8 use_dma;
u8 *chip_sel;
};