Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Commit

Permalink
USB-Serial: add missing `keyspan_pda_private' struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Javinator9889 committed Jan 15, 2021
1 parent 3a3d89b commit b85c492
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions build
Expand Up @@ -49,6 +49,7 @@ echo "Creating tools package..."
cd tools/
make ${MAKE_OPTS} CFLAGS="${CCFLAGS}" CXXFLAGS="${CXXFLAGS}" cpupower intel-speed-select pci bootconfig tmon usb x86_energy_perf_policy wmi freefall perf
sudo checkinstall -D --pkgname "linux-tools-thdkernel-${KV}" --pkgversion "${KV}" --pakdir .. --gzman -y --install=no --maintainer dev@javinator9889.com --exclude /root --exclude /media make cpupower_install intel-speed-select_install pci_install bootconfig_install tmon_install usb_install x86_energy_perf_policy_install wmi_install freefall_install perf_install
sudo chown -R $USER:$USER .
make -s clean
cd ..
sudo chown $USER:$USER *.deb
Expand Down
4 changes: 3 additions & 1 deletion drivers/usb/serial/keyspan_pda.c
Expand Up @@ -556,11 +556,13 @@ static int keyspan_pda_write(struct tty_struct *tty,
static void keyspan_pda_write_bulk_callback(struct urb *urb)
{
struct usb_serial_port *port = urb->context;
struct keyspan_pda_private *priv;

set_bit(0, &port->write_urbs_free);
priv = usb_get_serial_port_data(port);

/* queue up a wakeup at scheduler time */
schedule_work(&priv->wakeup_work);
usb_serial_port_softint(port);
}


Expand Down

0 comments on commit b85c492

Please sign in to comment.