diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-06-22 14:44:54 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-12 16:34:37 -0700 |
commit | a6ea438b6d38689b7f876093bcba4505fe1995d1 (patch) | |
tree | 76c090a4c4c5de30184605e84019ecde5beaeac7 /drivers/usb/usb-skeleton.c | |
parent | 9a8baec77205dfe14f98a4e291c830a311125a8b (diff) |
USB: serial: ir_usb: Clean up the worst of it, remove exciting 'crash on open' feature
- Drivers don't call ldisc termios methods. They certainly don't call
them the way this one does - remove wrong call
- The tty buffer code isn't designed to be abused from IRQ handlers and
the new buffering removes the need for the uglies involved - fix them
- Style
- Remove incorrect baud and change handling for termios changes
The driver now has some style, but not a lot - it goes insane if you have
two dongles for example as it continues to use global variables for per
dongle state. That bit isn't my problem.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/usb-skeleton.c')
0 files changed, 0 insertions, 0 deletions