Re: [PATCH 1/2 v2] usbnet: allow status interrupt URB to always be active
From: Oliver Neukum <oliver@neukum.org>
Date: 2013-02-06 20:19:39
From: Oliver Neukum <oliver@neukum.org>
Date: 2013-02-06 20:19:39
On Wednesday 06 February 2013 12:36:38 Dan Williams wrote:
Some drivers (ex sierra_net) need the status interrupt URB active even when the device is closed, because they receive custom indications from firmware. Allow sub-drivers to set a flag that submits the status interrupt URB on probe and keeps the URB alive over device open/close. The URB is still killed/re-submitted for suspend/resume, as before.
Given your description in the later patch, which uses this feature, it seems to me that we can be more efficient if we include infrastructure to determine whether the interrupt URB is still needed under some circumstances. Could we put this on hold until we are clear on the requirements of the protocol? Regards Oliver