summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-driver.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-07-24 16:18:04 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-08-14 20:02:20 +0300
commitde75c771b4cc4da963164a538a8448128301bc35 (patch)
treea8fea3a1a6c68324b0b425c482f3c2ef5c7d1b22 /drivers/media/video/cx18/cx18-driver.c
parent867996b15c1f0a98d2c405bada907e97499ba8c2 (diff)
downloadblackbird-op-linux-de75c771b4cc4da963164a538a8448128301bc35.tar.gz
blackbird-op-linux-de75c771b4cc4da963164a538a8448128301bc35.zip
UBI: improve NOR flash erasure quirk
More testing of NOR flash against power cuts showed that sometimes eraseblocks may be unwritable, and we cannot really invalidate them before erasure. But in this case the eraseblock probably contains garbage anyway, and we do not have to invalidate the headers. This assumption might be not true, but this is at least what I have observed. So if we cannot invalidate the headers, we make sure that the PEB does not contain valid VID header. If this is true, everything is fine, otherwise we panic.
Diffstat (limited to 'drivers/media/video/cx18/cx18-driver.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud