summaryrefslogtreecommitdiffstats
path: root/sound/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-06-20 07:22:23 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-13 01:34:37 +0200
commit9e85c5f63268a5700860f53e52b090973652a5b2 (patch)
tree4d0258d76ceab4621e57b646ad80ace80f5911aa /sound/drivers
parentUSB: sierra: remove incorrect usage of the urb status field (diff)
downloadlinux-9e85c5f63268a5700860f53e52b090973652a5b2.tar.xz
linux-9e85c5f63268a5700860f53e52b090973652a5b2.zip
USB: sierra: cleanup the startup and shutdown path
This removes the ugly code that was copied from the keyspan driver and allocates the in urbs in a much shorter code path that can be understood easier. Also turned off the interrupt urb when no port was open as it's not nice to keep the bus busy for no good reason at all (this should be a power savings.) All in all, this saved over 40 lines of code and cleaned things up better. Cc: Kevin Lloyd <linux@sierrawireless.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions