]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0209bab879e13d66bd17ceb6d5d6430ee88ad985
tree67f8ff78a15b99fe2ec170ce400607af63d9c6e6
parentf3256cb6c31f4fd161fa35b6066d8a5048eac576
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