linux/drivers/bluetooth
Oliver Neukum 7bee549e19 Bluetooth: Add USB autosuspend support to btusb driver
This patch adds support of USB autosuspend to the btusb driver.

If the device doesn't support remote wakeup, simple support based on
up/down is provided. If the device supports remote wakeup, additional
support for autosuspend while the interface is up is provided. This is
done by queueing URBs in an anchor structure and waking the device up
from a work queue on sending. Reception triggers remote wakeup.

The last busy facility of the USB autosuspend code is used. To close
a race between autosuspend and transmission, a counter of ongoing
transmissions is maintained.

Add #ifdefs for CONFIG_PM as necessary.

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Tested-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2009-08-24 16:31:24 -07:00
..
bcm203x.c Bluetooth: Enable per-module dynamic debug messages 2008-11-30 12:17:28 +01:00
bfusb.c Bluetooth: Remove some pointless conditionals before kfree_skb() 2009-02-27 06:14:50 +01:00
bluecard_cs.c pcmcia: IRQ_TYPE_EXCLUSIVE is long obsoleted 2008-10-17 23:07:10 +02:00
bpa10x.c Bluetooth: Enable per-module dynamic debug messages 2008-11-30 12:17:28 +01:00
bt3c_cs.c Bluetooth: Eliminate a sparse warning in bt3c driver 2009-02-27 06:14:35 +01:00
btmrvl_debugfs.c Bluetooth: Remove pointless casts from Marvell debugfs support 2009-08-22 14:25:33 -07:00
btmrvl_drv.h Bluetooth: Remove private device name of Marvell SDIO driver 2009-08-22 14:25:34 -07:00
btmrvl_main.c Bluetooth: Remove Enter/Leave debug statements from Marvell driver 2009-08-22 14:25:34 -07:00
btmrvl_sdio.c Bluetooth: Add missing kmalloc NULL tests to Marvell driver 2009-08-22 14:33:22 -07:00
btmrvl_sdio.h Bluetooth: Fix incorrect alignment in Marvell BT-over-SDIO driver 2009-08-22 14:25:34 -07:00
btsdio.c Bluetooth: Enable per-module dynamic debug messages 2008-11-30 12:17:28 +01:00
btuart_cs.c pcmcia: IRQ_TYPE_EXCLUSIVE is long obsoleted 2008-10-17 23:07:10 +02:00
btusb.c Bluetooth: Add USB autosuspend support to btusb driver 2009-08-24 16:31:24 -07:00
dtl1_cs.c Bluetooth: Fix issue with uninitialized nsh.type in DTL-1 driver 2009-06-14 15:40:34 +02:00
hci_bcsp.c Bluetooth: Fix false errors from bcsp_pkt_cull function 2009-08-24 13:32:32 -07:00
hci_h4.c Bluetooth: Remove some pointless conditionals before kfree_skb() 2009-02-27 06:14:50 +01:00
hci_ldisc.c tty: fix bluetooth scribbling on low latency flags 2009-06-11 08:51:05 -07:00
hci_ll.c Bluetooth: Remove some pointless conditionals before kfree_skb() 2009-02-27 06:14:50 +01:00
hci_uart.h
hci_vhci.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
Kconfig Bluetooth: Fix Kconfig for Marvell Bluetooth driver 2009-08-22 14:25:33 -07:00
Makefile Bluetooth: Fix compilation of Marvell driver without debugfs 2009-08-22 14:25:33 -07:00