summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-05-21 22:26:14 +0200
committerWolfgang Denk <wd@denx.de>2010-05-21 22:26:14 +0200
commit8b79f2ce80d62e92d11ca90e472f240305e14f1f (patch)
tree6bd44d41195d141a5982222de38d30469e9a9062 /drivers
parent8a452c2c17bc284e3f91b8ed4aec9d2b9b342df7 (diff)
parentbdc5f06789c5a0c3a9a2c0eb33ec4d177dbdaa22 (diff)
downloadu-boot-imx-8b79f2ce80d62e92d11ca90e472f240305e14f1f.zip
u-boot-imx-8b79f2ce80d62e92d11ca90e472f240305e14f1f.tar.gz
u-boot-imx-8b79f2ce80d62e92d11ca90e472f240305e14f1f.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-ubi
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/ubi/wl.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c
index 2f9a5e3..88b867a 100644
--- a/drivers/mtd/ubi/wl.c
+++ b/drivers/mtd/ubi/wl.c
@@ -696,8 +696,13 @@ static void schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk)
list_add_tail(&wrk->list, &ubi->works);
ubi_assert(ubi->works_count >= 0);
ubi->works_count += 1;
- if (ubi->thread_enabled)
- wake_up_process(ubi->bgt_thread);
+
+ /*
+ * U-Boot special: We have no bgt_thread in U-Boot!
+ * So just call do_work() here directly.
+ */
+ do_work(ubi);
+
spin_unlock(&ubi->wl_lock);
}