staging: line6: fixed ALSA/PCM interaction
authorMarkus Grabner <grabner@icg.tugraz.at>
Sat, 10 Dec 2011 01:12:32 +0000 (02:12 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 10 Dec 2011 03:26:09 +0000 (19:26 -0800)
commit6b02a17ee5cd5d200dbe4a285a4e750f70884967
tree4f8a0f63d324ddbb284911a47303282ef0ef0c08
parent665f3f506b1c2684d6f78d6d03c038d1712e561d
staging: line6: fixed ALSA/PCM interaction

The PCM subsystem in the Line6 driver is mainly used for PCM playback and
capture by ALSA, but also has other tasks, most notably providing a
low-latency software monitor for devices which don't support hardware
monitoring (e.g., the TonePort series). This patch makes ALSA "play nicely"
with the other components, i.e., prevents it from resetting the isochronous
USB transfer while other PCM tasks (software monitoring) are running.

Signed-off-by: Markus Grabner <grabner@icg.tugraz.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/line6/capture.c
drivers/staging/line6/capture.h
drivers/staging/line6/pcm.c
drivers/staging/line6/playback.c
drivers/staging/line6/playback.h
drivers/staging/line6/revision.h