mvebu: Add basic support for WRT1900AC (v1) and Turris Omnia (pre 2019)
[librecmc/librecmc.git] / target / linux / mvebu / patches-4.14 / 103-remove-nand-driver-bug.patch
1 Remove a BUG() call that would crash on a race condition that should
2 otherwise be harmless.
3
4 --- a/drivers/mtd/nand/pxa3xx_nand.c
5 +++ b/drivers/mtd/nand/pxa3xx_nand.c
6 @@ -727,7 +727,6 @@ static void handle_data_pio(struct pxa3x
7         default:
8                 dev_err(&info->pdev->dev, "%s: invalid state %d\n", __func__,
9                                 info->state);
10 -               BUG();
11         }
12  
13         /* Update buffer pointers for multi-page read/write */