From: Dan Carpenter Date: Wed, 11 Aug 2010 18:00:09 +0000 (+0200) Subject: rocket: add a mutex_unlock() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=49bf7eaffc0c252ab2a2cc8f1bf8c0077e778704;p=linux-beck.git rocket: add a mutex_unlock() This path needs a mutex_unlock(). This is stuff from the bkl to mutex transition. Signed-off-by: Dan Carpenter Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c index 79c3bc69165a..7c79d243acc9 100644 --- a/drivers/char/rocket.c +++ b/drivers/char/rocket.c @@ -1244,6 +1244,7 @@ static int set_config(struct tty_struct *tty, struct r_port *info, } info->flags = ((info->flags & ~ROCKET_USR_MASK) | (new_serial.flags & ROCKET_USR_MASK)); configure_r_port(tty, info, NULL); + mutex_unlock(&info->port.mutex); return 0; }