]> git.dujemihanovic.xyz Git - u-boot.git/commit
UBI: Ensure that "background thread" operations are really executed
authorStefan Roese <sr@denx.de>
Mon, 17 May 2010 08:00:51 +0000 (10:00 +0200)
committerStefan Roese <sr@denx.de>
Wed, 19 May 2010 08:57:19 +0000 (10:57 +0200)
commit1b1f9a9d00447d9eab32ae5633f60a106196b75f
treebbcb0b67493a3356b49d7d29a581274802871554
parenta2a0a7171303de5d8ce099344efde2e29ee36eb0
UBI: Ensure that "background thread" operations are really executed

The current U-Boot UBI implementation is copied from Linux. In this
porting the UBI background thread was not handled correctly. Upon write
operations ubi_wl_flush() makes sure, that all queued operations, like
page-erase, are completed. But this is missing for read operations.

This patch now makes sure that such operations (like scrubbing upon
bit-flip errors) are not queued, but executed directly.

Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/ubi/wl.c