Commit 7b971838 authored by Olaf Hering's avatar Olaf Hering Committed by Greg Kroah-Hartman

[PATCH] USB: fix lockup with 2.6 keyspan_pda driver

I suggest to put the pointer to port instead of the pointer to the
pointer to port to the workqueue data.
Did that driver ever work with 2.6?
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 52db091e
......@@ -781,7 +781,7 @@ static int keyspan_pda_startup (struct usb_serial *serial)
usb_set_serial_port_data(serial->port[0], priv);
init_waitqueue_head(&serial->port[0]->write_wait);
INIT_WORK(&priv->wakeup_work, (void *)keyspan_pda_wakeup_write,
(void *)(&serial->port[0]));
(void *)(serial->port[0]));
INIT_WORK(&priv->unthrottle_work,
(void *)keyspan_pda_request_unthrottle,
(void *)(serial));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment