diff options
Diffstat (limited to 'drivers/mtd/chips')
-rw-r--r-- | drivers/mtd/chips/cfi_cmdset_0001.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mtd/chips/cfi_cmdset_0001.c b/drivers/mtd/chips/cfi_cmdset_0001.c index 898c321ab86d..e797752f7c0b 100644 --- a/drivers/mtd/chips/cfi_cmdset_0001.c +++ b/drivers/mtd/chips/cfi_cmdset_0001.c | |||
@@ -1691,6 +1691,11 @@ static int cfi_intelext_writev (struct mtd_info *mtd, const struct kvec *vecs, | |||
1691 | if (chipnum == cfi->numchips) | 1691 | if (chipnum == cfi->numchips) |
1692 | return 0; | 1692 | return 0; |
1693 | } | 1693 | } |
1694 | |||
1695 | /* Be nice and reschedule with the chip in a usable state for other | ||
1696 | processes. */ | ||
1697 | cond_resched(); | ||
1698 | |||
1694 | } while (len); | 1699 | } while (len); |
1695 | 1700 | ||
1696 | return 0; | 1701 | return 0; |