From 27b76ab0671089c47506615a796a261e993896a7 Mon Sep 17 00:00:00 2001 From: James <> Date: Sun, 17 Mar 2013 12:16:37 +0000 Subject: fish --- .../031-mtd-bcm47xxsflash-write-number-of-written-bytes.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 target/linux/brcm47xx/patches-3.8/031-mtd-bcm47xxsflash-write-number-of-written-bytes.patch (limited to 'target/linux/brcm47xx/patches-3.8/031-mtd-bcm47xxsflash-write-number-of-written-bytes.patch') diff --git a/target/linux/brcm47xx/patches-3.8/031-mtd-bcm47xxsflash-write-number-of-written-bytes.patch b/target/linux/brcm47xx/patches-3.8/031-mtd-bcm47xxsflash-write-number-of-written-bytes.patch new file mode 100644 index 0000000..9c41cad --- /dev/null +++ b/target/linux/brcm47xx/patches-3.8/031-mtd-bcm47xxsflash-write-number-of-written-bytes.patch @@ -0,0 +1,10 @@ +--- a/drivers/mtd/devices/bcm47xxsflash.c ++++ b/drivers/mtd/devices/bcm47xxsflash.c +@@ -23,6 +23,7 @@ static int bcm47xxsflash_read(struct mtd + + memcpy_fromio(buf, (void __iomem *)KSEG0ADDR(b47s->window + from), + len); ++ *retlen = len; + + return len; + } -- cgit v1.2.3