Skip to contentSkip to conversation

rocket: add a mutex_unlock()

PATCH In review Dan Carpenter 2 participants 2 messages Aug 11, 2010 – Aug 17, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rocket: add a mutex_unlock()

This path needs a mutex_unlock(). This is stuff from the bkl to mutex transition.

drivers/char/rocket.c +1 -0
index 79c3bc6..7c79d24 100644
@@ -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;
 	}