]> git.karo-electronics.de Git - linux-beck.git/commit
spi/bcm63xx: don't substract prepend length from total length
authorJonas Gorski <jogo@openwrt.org>
Tue, 17 Dec 2013 20:42:07 +0000 (21:42 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 17 Dec 2013 22:34:55 +0000 (22:34 +0000)
commit86b3bde003e6bf60ccb9c09b4115b8a2f533974c
tree05544f2d7f6cd2b5070e8d5aa06281ad5cf376ff
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
spi/bcm63xx: don't substract prepend length from total length

The spi command must include the full message length including any
prepended writes, else transfers larger than 256 bytes will be
incomplete.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
drivers/spi/spi-bcm63xx.c