spi/bcm63xx: don't reject reads >= 256 bytes
authorJonas Gorski <jogo@openwrt.org>
Tue, 17 Dec 2013 20:42:08 +0000 (21:42 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 17 Dec 2013 22:40:19 +0000 (22:40 +0000)
commit20e9e78f8b0f1ed02a3a095240853b1767482757
tree9be50c55ccdca56d055a509046f6314ee90eed4a
parentacf4fc6ffa84b59e83f34f587be623a05bc0c55c
spi/bcm63xx: don't reject reads >= 256 bytes

The rx_tail register is only 8 bit wide, so it will wrap around
after 256 read bytes. This makes it rather meaningless, so drop any
usage of it to not treat reads over 256 as failed.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-bcm63xx.c
This page took 0.025562 seconds and 5 git commands to generate.