Fixed missing up().
authorFlorian Pose <fp@igh-essen.com>
Fri, 08 Aug 2008 13:42:46 +0000
changeset 1197 f65f9c36ba33
parent 1196 a27966f01b72
child 1198 be606e9caba4
Fixed missing up().
master/master.c
--- a/master/master.c	Fri Aug 08 12:44:40 2008 +0000
+++ b/master/master.c	Fri Aug 08 13:42:46 2008 +0000
@@ -1263,6 +1263,7 @@
     domain_offset = 0;
     list_for_each_entry(domain, &master->domains, list) {
         if (ec_domain_finish(domain, domain_offset)) {
+            up(&master->master_sem);
             EC_ERR("Failed to finish domain 0x%08X!\n", (u32) domain);
             return -1;
         }