diff options
author | Simon Kagstrom <simon.kagstrom@netinsight.net> | 2009-10-29 13:41:11 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-11-30 12:01:59 +0000 |
commit | be95745f01677245a061a8f51473ef5ec8ad008e (patch) | |
tree | 404004e0036b4e558aa47145e8c4b57b2079a343 /sound/sh | |
parent | a15b124fc4f15b2c4fc51669c936a30ce179d1f7 (diff) |
mtd: mtdoops: keep track of used/unused pages in an array
This patch makes mtdoops keep track of used/unused pages in an array
instead of scanning the flash after a write. The advantage with this
approach is that it avoids calling mtd->read on a panic, which is not
possible for all mtd drivers.
Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Reviewed-by: Anders Grafstrom <anders.grafstrom@netinsight.net>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'sound/sh')
0 files changed, 0 insertions, 0 deletions