]> git.karo-electronics.de Git - linux-beck.git/commit
spi: davinci: remove 'wait_enable' platform data member
authorBrian Niebuhr <bniebuhr@efjohnson.com>
Mon, 16 Aug 2010 04:58:53 +0000 (10:28 +0530)
committerSekhar Nori <nsekhar@ti.com>
Thu, 18 Nov 2010 13:08:25 +0000 (18:38 +0530)
commit472880c73da124b6cb5cbc31a36754aa62935afe
treec48f605df1ddf9947d4b647b9641210e240ccab1
parent7fe0092b1f55f58a749d68ace3a3597e8a2a9163
spi: davinci: remove 'wait_enable' platform data member

The SPI_READY bit of struct spi_device:mode serves the purpose
of letting the SPI master know if the slave can signal if it is
ready for transfer or not.

The 'wait_enable' platform data was duplicating this functionality.
Use the framework provided method of indicating this capability.

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/include/mach/spi.h
drivers/spi/davinci_spi.c