projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05254a2
)
rocket: add a mutex_unlock()
author
Dan Carpenter
<error27@gmail.com>
Wed, 11 Aug 2010 18:00:09 +0000
(20:00 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 24 Aug 2010 01:17:21 +0000
(18:17 -0700)
This path needs a mutex_unlock(). This is stuff from the bkl to mutex
transition.
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/rocket.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/rocket.c
b/drivers/char/rocket.c
index 79c3bc69165afb919f8084cf274c4d2310def8c2..7c79d243acc9b3fac68d6b4062fc9a43bb93eb65 100644
(file)
--- 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;
}