summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/oti6858.c
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2008-10-13 09:39:58 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-13 16:51:41 (GMT)
commitd450b5a0196b6442cf3f29fc611d9c8daa56b559 (patch)
tree2a6b641b033bfbe16b194897ddbc988544dcefc2 /drivers/usb/serial/oti6858.c
parent4a90f09b20f4622dcbff1f0e1e6bae1704f8ad8c (diff)
downloadlinux-fsl-qoriq-d450b5a0196b6442cf3f29fc611d9c8daa56b559.tar.xz
tty: kref usage for isicom and moxa
Rather than blindly keep taking krefs we reorder the code in a few places to pass the tty down to the right place (which is important as from the user side it is not the case that tty == port->tty in all situations). For the irq and related paths use the krefs to stop the tty being freed under us. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/usb/serial/oti6858.c')
0 files changed, 0 insertions, 0 deletions