Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f32f5394 authored by Martin Kepplinger's avatar Martin Kepplinger Committed by Dmitry Torokhov
Browse files

Input: pegasus_notetaker - cancel workqueue's work in suspend()

parent 9d3bef0b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -389,6 +389,7 @@ static int pegasus_suspend(struct usb_interface *intf, pm_message_t message)

	mutex_lock(&pegasus->dev->mutex);
	usb_kill_urb(pegasus->irq);
	cancel_work_sync(&pegasus->init);
	mutex_unlock(&pegasus->dev->mutex);

	return 0;