diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-05-21 15:16:09 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-05-21 15:16:38 +0200 |
commit | f0dd81043cc2d6555c1e686365db8e1f48732acf (patch) | |
tree | d6e32fbea4489dfffb9cfc3ae73d4ae6d0bba25d /target/linux | |
parent | 566343246f6558fc2a3a485064c7b8c6f22ec261 (diff) | |
download | upstream-f0dd81043cc2d6555c1e686365db8e1f48732acf.tar.gz upstream-f0dd81043cc2d6555c1e686365db8e1f48732acf.tar.bz2 upstream-f0dd81043cc2d6555c1e686365db8e1f48732acf.zip |
mvebu: prevent crash in the flash driver in case of a spurious interrupt
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/mvebu/patches-4.4/103-remove-nand-driver-bug.patch | 13 |
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 */ |