mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
2bf9ea6a31
Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
14 lines
396 B
Diff
14 lines
396 B
Diff
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 */
|