netifd: update to latest version, fixes wireless device reload handling
[openwrt.git] / target / linux / brcm63xx / patches-3.10 / 054-spi-bcm63xx-don-t-substract-prepend-length-from-tota.patch
1 From e85583b12b023773b488cf8406f11719a4037461 Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jogo@openwrt.org>
3 Date: Sun, 1 Dec 2013 16:16:44 +0100
4 Subject: [PATCH 1/2] spi/bcm63xx: don't substract prepend length from total
5  length
6
7 The spi command must include the full message length including any
8 prepended writes, else transfers larger than 256 bytes will be
9 incomplete.
10
11 Signed-off-by: Jonas Gorski <jogo@openwrt.org>
12 ---
13  drivers/spi/spi-bcm63xx.c | 2 --
14  1 file changed, 2 deletions(-)
15
16 --- a/drivers/spi/spi-bcm63xx.c
17 +++ b/drivers/spi/spi-bcm63xx.c
18 @@ -180,8 +180,6 @@ static int bcm63xx_txrx_bufs(struct spi_
19                                transfer_list);
20         }
21  
22 -       len -= prepend_len;
23 -
24         init_completion(&bs->done);
25  
26         /* Fill in the Message control register */