Thread (3 messages) 3 messages, 2 authors, 2011-12-12

Re: [PATCH] Input: bcm5974 - Fix USB autosuspend

flat view

From: Henrik Rydberg <hidden>
Date: 2011-12-12 10:12:14
Also in: lkml

On Mon, Dec 12, 2011 at 10:02:52AM +0100, Oliver Neukum wrote:
Am Montag, 12. Dezember 2011, 10:06:04 schrieb Henrik Rydberg:
quoted
@@ -895,6 +857,10 @@ static int bcm5974_probe(struct usb_interface *iface,
        /* save our data pointer in this interface device */
        usb_set_intfdata(iface, dev);
 
+       error = bcm5974_start_traffic(dev);
+       if (error)
+               goto err_free_buffer;
+
        return 0;
 
 err_free_buffer:
-- 
Why do you want to start traffic before open() in probe() ?
It doesn't make sense to ask a device to deliver data nobody
wants.
Seems I was a bit trigger happy here, will send another one.

Thanks,
Henrik
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help