spi/bcm63xx: work around inability to keep CS up
authorJonas Gorski <jogo@openwrt.org>
Sun, 3 Feb 2013 14:15:13 +0000 (15:15 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 5 Feb 2013 17:14:33 +0000 (17:14 +0000)
commitb17de076062a677b11ec5054d61184d0134e851f
tree67f8ff78a15b99fe2ec170ce400607af63d9c6e6
parent32310aaf5c410dd3dc701556cc9bbeff0847c7c9
spi/bcm63xx: work around inability to keep CS up

This SPI controller does not support keeping CS asserted after sending
a transfer.
Since messages expected on this SPI controller are rather short, we can
work around it for normal use cases by sending all transfers at once in
a big full duplex stream.

This means that we cannot change the speed between transfers if they
require CS to be kept asserted, but these would have been rejected
before anyway because of the inability of keeping CS asserted.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-bcm63xx.c