OSDN Git Service

spi/bcm63xx: reject transfers unable to transfer
authorJonas Gorski <jogo@openwrt.org>
Sun, 3 Feb 2013 14:15:12 +0000 (15:15 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 5 Feb 2013 14:44:13 +0000 (14:44 +0000)
commitc0fde3ba0e03af30f9fa9cdf180442189b3f7e9c
tree1ce171f8a63d1a031eb1ccc948be2bba891f90dd
parent2cd94c8a1b4184b48ecbc16b353dcbb513053285
spi/bcm63xx: reject transfers unable to transfer

The hardware does not support keeping CS asserted after sending one
FIFO buffer worth of data, so reject transfers requiring CS being kept
asserted, either between transers or for a certain time after it,
or exceeding the FIFO size.

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