summaryrefslogtreecommitdiff
path: root/target/linux/mvebu/patches-4.4/103-remove-nand-driver-bug.patch
blob: e9cc027b3c66594119f295a99f78f80774471c0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 */