diff options
author | Pete Zaitcev <zaitcev@redhat.com> | 2006-05-22 21:58:49 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-21 15:04:13 -0700 |
commit | cf2c7481d2ff7f0c266de873b2fe93883e9782f9 (patch) | |
tree | 35dba35b3969f431feb0dfe5732c3825aa077a22 /drivers/usb/serial/cyberjack.c | |
parent | ad93375a30334cd97a61f7076d242e1cfdb66abc (diff) | |
download | kernel_samsung_smdk4412-cf2c7481d2ff7f0c266de873b2fe93883e9782f9.zip kernel_samsung_smdk4412-cf2c7481d2ff7f0c266de873b2fe93883e9782f9.tar.gz kernel_samsung_smdk4412-cf2c7481d2ff7f0c266de873b2fe93883e9782f9.tar.bz2 |
[PATCH] USB serial: encapsulate schedule_work, remove double-calling
I'm going to throw schedule_work away, it's retarded. But for starters,
let's have it encapsulated.
Also, generic and whiteheat were both calling usb_serial_port_softint
and scheduled work. Only one was necessary.
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/cyberjack.c')
-rw-r--r-- | drivers/usb/serial/cyberjack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/cyberjack.c b/drivers/usb/serial/cyberjack.c index 2357b1d..1fd5c5a 100644 --- a/drivers/usb/serial/cyberjack.c +++ b/drivers/usb/serial/cyberjack.c @@ -469,7 +469,7 @@ static void cyberjack_write_bulk_callback (struct urb *urb, struct pt_regs *regs exit: spin_unlock(&priv->lock); - schedule_work(&port->work); + usb_serial_port_softint(port); } static int __init cyberjack_init (void) |