Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154321
b: refs/heads/master
c: 922b135
h: refs/heads/master
i:
  154319: 8c934f2
v: v3
  • Loading branch information
Thadeu Lima de Souza Cascardo authored and Linus Torvalds committed Jun 25, 2009
1 parent 1db0d45 commit e10ed34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 42dd2aa6496a2e87e496aac5494d2e1d6096c85b
refs/heads/master: 922b13565b6a826a925f9f91f053dc9cb0d6210e
2 changes: 1 addition & 1 deletion trunk/drivers/usb/class/cdc-acm.c
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ static void acm_tty_close(struct tty_struct *tty, struct file *filp)

/* Perform the closing process and see if we need to do the hardware
shutdown */
if (tty_port_close_start(&acm->port, tty, filp) == 0)
if (!acm || tty_port_close_start(&acm->port, tty, filp) == 0)
return;
acm_port_down(acm, 0);
tty_port_close_end(&acm->port, tty);
Expand Down

0 comments on commit e10ed34

Please sign in to comment.