diff options
author | Brian Niebuhr <bniebuhr@efjohnson.com> | 2010-08-20 13:32:49 +0200 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2010-11-18 14:08:29 +0100 |
commit | cf90fe73504764cbcc2552c7ea69b1866059db30 (patch) | |
tree | 6437d026e5ee4781da5f805e65d03eeb7c478e24 /arch/arm/mach-davinci/include | |
parent | spi: davinci: remove unnecessary completion variable initialization (diff) | |
download | linux-cf90fe73504764cbcc2552c7ea69b1866059db30.tar.xz linux-cf90fe73504764cbcc2552c7ea69b1866059db30.zip |
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.h | 2 |
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 483b055da440..e68afe23885b 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; }; |