Jiri Slaby caf0e8e028 mtd: cfi_cmdset_0002, fix lock imbalance
Stanse found a double unlock in get_chip. get_chip is called with
chip->mutex held and caller is responsible for unlocking it too.

Do not unlock the lock in get_chip on a fail path. This would mean
a double unlock.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-12-10 13:33:53 +00:00
..
2009-11-30 12:01:05 +00:00
2009-11-30 10:02:41 +00:00
2009-09-04 09:38:14 +01:00
2009-11-30 11:33:25 +00:00
2008-06-04 17:50:17 +01:00
2009-11-30 09:50:46 +00:00
2009-09-03 14:59:16 +01:00