projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
isdn
/
gigaset
/
interface.c
diff --git
a/drivers/isdn/gigaset/interface.c
b/drivers/isdn/gigaset/interface.c
index e2b539675b665d72aa1fe183cd9f0a61ad0262c2..600c79b030cdb68ddfb2fefd4cd53b6d10433511 100644
(file)
--- a/
drivers/isdn/gigaset/interface.c
+++ b/
drivers/isdn/gigaset/interface.c
@@
-487,12
+487,8
@@
static const struct tty_operations if_ops = {
static void if_wake(unsigned long data)
{
struct cardstate *cs = (struct cardstate *)data;
static void if_wake(unsigned long data)
{
struct cardstate *cs = (struct cardstate *)data;
- struct tty_struct *tty = tty_port_tty_get(&cs->port);
- if (tty) {
- tty_wakeup(tty);
- tty_kref_put(tty);
- }
+ tty_port_tty_wakeup(&cs->port);
}
/*** interface to common ***/
}
/*** interface to common ***/