aboutsummaryrefslogtreecommitdiff
path: root/drivers/leds/leds-s3c24xx.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-07-19 14:09:46 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-08-14 20:01:36 +0300
commit5b289b562f6d236108569a880cb38cc03d17a50d (patch)
tree74b3bcc3e1aa4632c5ea51e45769c11b9a0e7c1f /drivers/leds/leds-s3c24xx.c
parent29a88c99d29834fb3314e0144900b187ede83106 (diff)
UBI: amend NOR flash pre-erase quirk
In case of NOR flash, UBI zeroes EC and VID headers' magic, in order to detect interrupted erasures. It first zeroes out the EC magic, then VID magic. However, if a power cut happens in between, we'll end up with a corrupted EC header and a valid VID header, in which case UBI accepts the PEB, but prints a warning. This patch makes sure we first zero out the VID magic, then the EC magic, not vice versa. This is just a small amendment to prevent warning messages. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/leds/leds-s3c24xx.c')
0 files changed, 0 insertions, 0 deletions