aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rapidio
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2009-08-24 17:44:59 -0400
committerMarcel Holtmann <marcel@holtmann.org>2009-08-24 19:31:24 -0400
commit7bee549e197c9c0e92b89857a409675c1d5e9dff (patch)
treede18e51c34faf4c53fd2bd6b7f0c8ab2b2caf6e5 /drivers/rapidio
parentd2e353f7c3c5fbb3add0341c10ae167ee745d23b (diff)
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>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions