Thread (1 message) 1 message, 1 author, 2016-03-31

Re: [PATCH 1/4] acecad: stop saving struct usb_device

From: Dmitry Torokhov <hidden>
Date: 2016-03-31 18:03:42

Possibly related (same subject, not in this thread)

On Tue, Mar 22, 2016 at 04:04:54PM +0100, Oliver Neukum wrote:
 static int usb_acecad_open(struct input_dev *dev)
 {
 	struct usb_acecad *acecad = input_get_drvdata(dev);
 
-	acecad->irq->dev = acecad->usbdev;
+	acecad->irq->dev = interface_to_usbdev(acecad->intf);
By the way, do we still need to do this assignment before submitting
urb?
 	if (usb_submit_urb(acecad->irq, GFP_KERNEL))
 		return -EIO;
 
Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help