Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318001
b: refs/heads/master
c: 1337b07
h: refs/heads/master
i:
  317999: 3f5c0fd
v: v3
  • Loading branch information
Samuel Iglesias Gonsálvez authored and Greg Kroah-Hartman committed Jul 17, 2012
1 parent 9d61c25 commit 3c1988f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: d254eb7418e389e063831d8d77b7dac240288f02
refs/heads/master: 1337b07e664c5a40ae0c5cbc13f5da4cf37c870c
4 changes: 2 additions & 2 deletions trunk/drivers/staging/ipack/devices/ipoctal.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ static int ipoctal_port_activate(struct tty_port *port, struct tty_struct *tty)

ipoctal_write_io_reg(ipoctal, &ipoctal->chan_regs[channel].u.w.cr,
CR_ENABLE_RX);
tty->driver_data = ipoctal;

return 0;
}

Expand All @@ -136,6 +134,8 @@ static int ipoctal_open(struct tty_struct *tty, struct file *file)
if (atomic_read(&ipoctal->open[channel]))
return -EBUSY;

tty->driver_data = ipoctal;

res = tty_port_open(&ipoctal->tty_port[channel], tty, file);
if (res)
return res;
Expand Down

0 comments on commit 3c1988f

Please sign in to comment.