diff options
Diffstat (limited to 'target/linux/generic/patches-3.2/474-mtd_concat_sync_fix.patch')
-rw-r--r-- | target/linux/generic/patches-3.2/474-mtd_concat_sync_fix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.2/474-mtd_concat_sync_fix.patch b/target/linux/generic/patches-3.2/474-mtd_concat_sync_fix.patch new file mode 100644 index 000000000..ff3759e22 --- /dev/null +++ b/target/linux/generic/patches-3.2/474-mtd_concat_sync_fix.patch @@ -0,0 +1,12 @@ +--- a/drivers/mtd/mtdconcat.c ++++ b/drivers/mtd/mtdconcat.c +@@ -619,7 +619,8 @@ static void concat_sync(struct mtd_info + + for (i = 0; i < concat->num_subdev; i++) { + struct mtd_info *subdev = concat->subdev[i]; +- subdev->sync(subdev); ++ if (subdev->sync) ++ subdev->sync(subdev); + } + } + |