generic: ar8216: add vtu_flush field to ar8xxx_chip
[openwrt.git] / target / linux / generic / patches-2.6.39 / 461-cfi_cmdset_0002_no_erase_suspend.patch
1 --- a/drivers/mtd/chips/cfi_cmdset_0002.c
2 +++ b/drivers/mtd/chips/cfi_cmdset_0002.c
3 @@ -684,7 +684,7 @@ static int get_chip(struct map_info *map
4 return 0;
5
6 case FL_ERASING:
7 - if (!cfip || !(cfip->EraseSuspend & (0x1|0x2)) ||
8 + if (1 /* no suspend */ || !cfip || !(cfip->EraseSuspend & (0x1|0x2)) ||
9 !(mode == FL_READY || mode == FL_POINT ||
10 (mode == FL_WRITING && (cfip->EraseSuspend & 0x2))))
11 goto sleep;
This page took 0.052703 seconds and 5 git commands to generate.