aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-4.14/103-remove-nand-driver-bug.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-12-21 12:13:30 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-02-13 22:29:56 +0100
commit4ccad922293a729369712026f647f85266322851 (patch)
tree9eb0ce493cf7610fe4bf2d327fdabb02ffc380e1 /target/linux/mvebu/patches-4.14/103-remove-nand-driver-bug.patch
parent47106f55e0b630ea448ea4e5be67b6791c0d7a93 (diff)
downloadupstream-4ccad922293a729369712026f647f85266322851.tar.gz
upstream-4ccad922293a729369712026f647f85266322851.tar.bz2
upstream-4ccad922293a729369712026f647f85266322851.zip
mvebu: Add support for kernel 4.14
Add support for kernel 4.14 to the mvebu target. This also replaces the old sfp and phylink patches with new versions from Russell's clearfog-4.13 branch http://git.arm.linux.org.uk/cgit/linux-arm.git/log/?h=clearfog-4.13 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/mvebu/patches-4.14/103-remove-nand-driver-bug.patch')
-rw-r--r--target/linux/mvebu/patches-4.14/103-remove-nand-driver-bug.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-4.14/103-remove-nand-driver-bug.patch b/target/linux/mvebu/patches-4.14/103-remove-nand-driver-bug.patch
new file mode 100644
index 0000000000..19a2a1e276
--- /dev/null
+++ b/target/linux/mvebu/patches-4.14/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
+@@ -727,7 +727,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 */