aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-4.4/103-remove-nand-driver-bug.patch
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2016-07-04 22:17:33 +0200
committerGitHub <noreply@github.com>2016-07-04 22:17:33 +0200
commit70069b0f57bb2f1721fbf8393985c13c7800f66f (patch)
tree2d4bbb30414da84feb6222ef5a0110d01dcf3445 /target/linux/mvebu/patches-4.4/103-remove-nand-driver-bug.patch
parent131f8241ca664f8a16632c32e46132efbf2defda (diff)
parentdd33f253baf68875f99498137f050c756f7427b6 (diff)
downloadmaster-187ad058-70069b0f57bb2f1721fbf8393985c13c7800f66f.tar.gz
master-187ad058-70069b0f57bb2f1721fbf8393985c13c7800f66f.tar.bz2
master-187ad058-70069b0f57bb2f1721fbf8393985c13c7800f66f.zip
Merge pull request #20 from wigyori/master
bump mvebu to 4.4, swconfig / mt76 updates, other small fixes
Diffstat (limited to 'target/linux/mvebu/patches-4.4/103-remove-nand-driver-bug.patch')
-rw-r--r--target/linux/mvebu/patches-4.4/103-remove-nand-driver-bug.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-4.4/103-remove-nand-driver-bug.patch b/target/linux/mvebu/patches-4.4/103-remove-nand-driver-bug.patch
new file mode 100644
index 0000000000..e9cc027b3c
--- /dev/null
+++ b/target/linux/mvebu/patches-4.4/103-remove-nand-driver-bug.patch
@@ -0,0 +1,13 @@
+Remove a BUG() call that would crash on a race condition that should
+otherwise be harmless.
+
+--- a/drivers/mtd/nand/pxa3xx_nand.c
++++ b/drivers/mtd/nand/pxa3xx_nand.c
+@@ -701,7 +701,6 @@ static void handle_data_pio(struct pxa3x
+ default:
+ dev_err(&info->pdev->dev, "%s: invalid state %d\n", __func__,
+ info->state);
+- BUG();
+ }
+
+ /* Update buffer pointers for multi-page read/write */