Commit 9c4ffb34 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Linus Torvalds

[PATCH] unbalanced locking in MTD Intel chip driver

This obvious missing unlock is screwing the preemption count.
Fix was applied to MTD CVS already.
Signed-off-by: default avatarNicolas Pitre <nico@cam.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent eb51a678
......@@ -604,6 +604,8 @@ static void put_chip(struct map_info *map, struct flchip *chip, unsigned long ad
spin_unlock(&shared->lock);
}
}
} else {
spin_unlock(&shared->lock);
}
switch(chip->oldstate) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment