1
0
Fork 0
remarkable-linux/include/linux/usb
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
..
association.h
atmel_usba_udc.h
audio-v2.h ALSA: snd-usb: handle raw data format of UAC2 devices 2013-03-18 08:47:13 +01:00
audio.h
c67x00.h
cdc-wdm.h USB: cdc-wdm: implement IOCTL_WDM_MAX_COMMAND 2013-03-25 13:32:20 -07:00
cdc_ncm.h net: cdc_ncm, cdc_mbim: allow user to prefer NCM for backwards compatibility 2013-03-17 11:59:03 -04:00
ch9.h usb: common: introduce usb_state_string() 2013-03-18 11:17:11 +02:00
chipidea.h
composite.h usb: gadget: the start of the configfs interface 2013-04-03 14:43:32 +03:00
dwc3-omap.h usb: dwc3: dwc3-omap: return -EPROBE_DEFER if probe has not yet executed 2013-03-18 11:18:14 +02:00
ehci_def.h
ehci_pdriver.h
ezusb.h
functionfs.h
g_hid.h
gadget.h usb: gadget: udc-core: introduce usb_add_gadget_udc_release() 2013-03-18 11:17:44 +02:00
gadget_configfs.h usb: gadget: the start of the configfs interface 2013-04-03 14:43:32 +03:00
gpio_vbus.h
hcd.h USB: remove CONFIG_USB_SUSPEND option 2013-03-28 11:10:22 -07:00
input.h
intel_mid_otg.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
isp1760.h
m66592.h
msm_hsusb.h
msm_hsusb_hw.h
musb-omap.h
musb-ux500.h usb: phy: ab8500-usb: update irq handling code 2013-03-18 14:41:33 +02:00
musb.h ARM: OMAP2: MUSB: Specify omap4 has mailbox 2013-02-06 11:40:13 -08:00
net2280.h
nop-usb-xceiv.h usb: phy: nop: Add some parameters to platform data 2013-03-18 11:13:54 +02:00
ohci_pdriver.h
omap_control_usb.h usb: omap_control_usb: fix compile warning 2013-02-06 11:40:14 -08:00
omap_usb.h usb: phy: add a new driver for usb3 phy 2013-01-25 13:02:50 +02:00
otg.h usb: otg: move usb_otg_state_string to usb-common.c 2013-03-18 11:18:03 +02:00
phy.h usb: phy: return -ENXIO when PHY layer isn't enabled 2013-03-18 11:18:26 +02:00
phy_companion.h
quirks.h
r8a66597.h
renesas_usbhs.h usb: renesas_usbhs: fixup sparse errors for common.c 2013-04-02 11:42:48 +03:00
rndis_host.h
samsung_usb_phy.h ARM: EXYNOS: Update & move usb-phy types to generic include layer 2013-01-23 13:39:07 +02:00
serial.h USB: serial: remove unused MSR-wait queue 2013-03-25 13:54:30 -07:00
sl811.h
storage.h
tegra_usb_phy.h usb: phy: tegra: don't call into tegra-ehci directly 2013-04-23 12:50:38 -07:00
tilegx.h
uas.h
ulpi.h usb: ulpi: Define a *otg_ulpi_create no-op 2013-03-20 17:30:40 +02:00
usbnet.h usbnet: allow status interrupt URB to always be active 2013-05-08 13:13:29 -07:00
wusb-wa.h
wusb.h