103-remove-nand-driver-bug.patch 396 B

12345678910111213
  1. Remove a BUG() call that would crash on a race condition that should
  2. otherwise be harmless.
  3. --- a/drivers/mtd/nand/pxa3xx_nand.c
  4. +++ b/drivers/mtd/nand/pxa3xx_nand.c
  5. @@ -701,7 +701,6 @@ static void handle_data_pio(struct pxa3x
  6. default:
  7. dev_err(&info->pdev->dev, "%s: invalid state %d\n", __func__,
  8. info->state);
  9. - BUG();
  10. }
  11. /* Update buffer pointers for multi-page read/write */