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
..
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
bcm203x.c
bfusb.c
bluecard_cs.c
bpa10x.c
bt3c_cs.c
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
btuart_cs.c
btusb.c Bluetooth: Add USB autosuspend support to btusb driver 2009-08-24 16:31:24 -07:00
dtl1_cs.c
hci_bcsp.c Bluetooth: Fix false errors from bcsp_pkt_cull function 2009-08-24 13:32:32 -07:00
hci_h4.c
hci_ldisc.c
hci_ll.c
hci_uart.h
hci_vhci.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00