synclink: add mutex_unlock() on error path
authorDan Carpenter <error27@gmail.com>
Wed, 11 Aug 2010 18:01:46 +0000 (20:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Aug 2010 01:17:21 +0000 (18:17 -0700)
commit80d04f22b0869a1145b36a90a83a79603ac92be8
tree196b465c243e3b230530ffeda8ef3396bdd82a94
parent49bf7eaffc0c252ab2a2cc8f1bf8c0077e778704
synclink: add mutex_unlock() on error path

There is a path which still holds its mutex here.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/synclink_gt.c