mtd: sst25l, fix lock imbalance
authorJiri Slaby <jirislaby@gmail.com>
Fri, 18 Sep 2009 19:51:42 +0000 (12:51 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 19 Sep 2009 17:56:53 +0000 (10:56 -0700)
commit2eaaa5ff87c675aacd3a869fc5fe75a35bbd5278
tree5224bbf24266e1025e08a109b493f932a2dac7bd
parentec77e21b91f0393a5201cfd4571a82ab7d64fd29
mtd: sst25l, fix lock imbalance

Add an omitted unlock to one sst25l_erase fail path.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/sst25l.c