Dan Williams
6eecdc5f95
usbnet: allow status interrupt URB to always be active
...
Some drivers (sierra_net) need the status interrupt URB
active even when the device is closed, because they receive
custom indications from firmware. Add functions to refcount
the status interrupt URB submit/kill operation so that
sub-drivers and the generic driver don't fight over whether
the status interrupt URB is active or not.
A sub-driver can call usbnet_status_start() at any time, but
the URB is only submitted the first time the function is
called. Likewise, when the sub-driver is done with the URB,
it calls usbnet_status_stop() but the URB is only killed when
all users have stopped it. The URB is still killed and
re-submitted for suspend/resume, as before, with the same
refcount it had at suspend.
Signed-off-by: Dan Williams <dcbw@redhat.com >
Acked-by: Oliver Neukum <oliver@neukum.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2013-05-08 13:13:29 -07:00
..
2013-05-02 11:58:41 -05:00
2013-05-04 12:31:18 -07:00
2013-04-30 09:36:50 -07:00
2013-05-05 17:36:20 -07:00
2013-05-05 17:36:20 -07:00
2013-04-26 23:29:14 -04:00
2013-05-06 15:41:42 -07:00
2013-04-29 20:09:03 +02:00
2013-05-07 10:57:51 -07:00
2013-04-28 02:13:43 +01:00
2013-05-07 11:06:17 -07:00
2013-04-23 14:09:39 -04:00
2013-04-29 16:23:34 -04:00
2013-05-08 13:13:29 -07:00
2013-04-30 15:21:02 -07:00
2013-04-29 15:40:23 -04:00
2013-04-29 15:54:33 -07:00
2013-04-29 15:54:39 -07:00
2013-05-01 08:04:12 -07:00
2013-05-01 17:51:54 -07:00
2013-04-30 17:04:01 -07:00
2013-04-30 15:21:02 -07:00
2013-05-02 09:03:55 -07:00
2013-05-01 07:21:43 -07:00
2013-04-29 18:28:13 -07:00
2013-04-29 18:28:13 -07:00
2013-04-23 13:45:22 +02:00
2013-05-01 17:51:54 -07:00
2013-04-29 18:28:19 -07:00
2013-04-29 15:54:27 -07:00
2013-05-01 13:20:04 -07:00
2013-05-01 16:36:22 +05:30
2013-04-30 17:04:02 -07:00
2013-04-30 16:03:10 +01:00
2013-04-29 18:28:40 -07:00
2013-05-01 17:31:42 -04:00
2013-05-01 16:28:48 -04:00
2013-04-30 17:04:00 -07:00
2013-05-04 14:57:58 -04:00
2013-04-29 18:28:41 -07:00
2013-04-19 17:10:27 -04:00
2013-04-29 13:55:38 -07:00
2013-04-29 18:28:13 -07:00
2013-04-30 10:09:06 +02:00
2013-04-30 10:17:48 +02:00
2013-04-29 15:54:38 -07:00
2013-04-29 15:54:35 -07:00
2013-04-29 15:54:26 -07:00
2013-04-29 13:54:36 -04:00
2013-04-29 18:28:41 -07:00
2013-04-21 15:56:59 -04:00
2013-05-02 12:10:19 +02:00
2013-04-29 15:54:37 -07:00
2013-05-01 08:12:58 -07:00
2013-04-19 17:49:23 -04:00
2013-04-25 15:25:23 +02:00
2013-04-29 15:42:02 -04:00
2013-05-05 10:58:06 -07:00
2013-04-30 17:04:06 -07:00
2013-04-30 17:04:02 -07:00
2013-04-19 16:39:13 -04:00
2013-05-05 14:47:31 -07:00
2013-05-05 10:58:06 -07:00
2013-04-30 19:13:05 +02:00
2013-04-29 15:54:37 -07:00
2013-04-30 17:04:00 -07:00
2013-05-01 07:21:43 -07:00
2013-04-30 09:36:50 -07:00
2013-04-23 09:50:30 -06:00
2013-04-29 18:28:44 -07:00
2013-05-02 07:34:58 -07:00
2013-05-06 11:06:51 -04:00
2013-04-19 14:57:58 -04:00
2013-05-01 15:00:24 -04:00
2013-04-23 15:40:40 -04:00
2013-04-29 15:54:36 -07:00
2013-05-04 14:47:26 -04:00
2013-05-07 11:22:14 -07:00
2013-04-29 15:54:28 -07:00
2013-04-19 22:25:51 +02:00
2013-04-30 08:42:45 -07:00
2013-05-01 14:08:52 -07:00
2013-05-02 17:54:19 +02:00
2013-05-01 17:51:54 -07:00
2013-05-05 13:23:27 -07:00
2013-04-30 17:04:02 -07:00
2013-05-01 17:29:47 -04:00
2013-05-01 17:29:39 -04:00
2013-04-29 15:54:28 -07:00
2013-05-02 17:54:19 +02:00
2013-04-30 17:04:09 -07:00
2013-04-29 19:14:20 -07:00
2013-04-29 18:28:22 -07:00
2013-05-02 19:40:34 -07:00
2013-05-05 13:23:27 -07:00
2013-04-30 16:27:51 -07:00
2013-05-01 17:51:54 -07:00
2013-04-19 14:57:57 -04:00
2013-05-06 09:24:16 +03:00
2013-04-30 17:04:03 -07:00
2013-04-29 13:21:30 -04:00
2013-04-30 17:04:03 -07:00
2013-04-29 15:54:38 -07:00
2013-04-22 20:29:07 +02:00
2013-04-25 21:01:45 +08:00
2013-05-01 17:51:54 -07:00
2013-05-02 14:14:04 -07:00
2013-04-29 15:54:34 -07:00
2013-04-29 15:54:38 -07:00
2013-04-29 15:54:37 -07:00
2013-04-30 17:04:02 -07:00