Commit a4a865be authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Linus Torvalds

[PATCH] Duh. _Really_ unbalanced locking in MTD Intel chip driver

I apparently can't copy simple obvious fixes by hand.
Signed-off-by: default avatarNicolas Pitre <nico@cam.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9c4ffb34
...@@ -603,9 +603,9 @@ static void put_chip(struct map_info *map, struct flchip *chip, unsigned long ad ...@@ -603,9 +603,9 @@ static void put_chip(struct map_info *map, struct flchip *chip, unsigned long ad
} }
spin_unlock(&shared->lock); spin_unlock(&shared->lock);
} }
} else {
spin_unlock(&shared->lock);
} }
} else {
spin_unlock(&shared->lock);
} }
switch(chip->oldstate) { 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