spi: make sure all transfer has bits_per_word set
commite6811d1d7a6a38ee637fe219c3b67dbfe17e8b3f
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 9 Nov 2012 09:06:45 +0000 (9 14:36 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 9 Nov 2012 16:42:17 +0000 (9 16:42 +0000)
treec85ec0d0bd6f8475ffb6e7134d038fcc00eb4d0b
parentdc4dc36056392c0b0b1ca9e81bebff964b9297e0
spi: make sure all transfer has bits_per_word set

When spi client does the spi transfer and does not sets
the bits_per_word for each transfer then set it as default
of spi device in spi core before calling low level transfer.

Removing the similar code from spi-tegra20-slink driver as
it is not required.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-tegra20-slink.c
drivers/spi/spi.c