]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi: davinci: remove non-useful interrupt mode support
authorBrian Niebuhr <bniebuhr@efjohnson.com>
Fri, 20 Aug 2010 11:32:49 +0000 (17:02 +0530)
committerSekhar Nori <nsekhar@ti.com>
Thu, 18 Nov 2010 13:08:29 +0000 (18:38 +0530)
commitcf90fe73504764cbcc2552c7ea69b1866059db30
tree6437d026e5ee4781da5f805e65d03eeb7c478e24
parent47f44671c0dc92e2b77ff3dd843f742d12510477
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>
arch/arm/mach-davinci/dm355.c
arch/arm/mach-davinci/dm365.c
arch/arm/mach-davinci/include/mach/spi.h
drivers/spi/davinci_spi.c