aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usbaudio.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-09-26 04:03:09 -0400
committerJaroslav Kysela <perex@suse.cz>2005-11-04 07:16:39 -0500
commit3527a008cbc51dd23a8bf4927e3ab29423b0d05b (patch)
treeb5aaab3e8800a3d333e8639f7b4fa59d460fb804 /sound/usb/usbaudio.c
parent3cfc1eb181b49dfbfeaf20ebfeb5cd2af4c4c4b5 (diff)
[ALSA] usb-audio: remove old compatibility wrappers (2/2)
Modules: USB generic driver Move the usb_complete_callback() compatibility wrapper out of the kernel tree. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/usb/usbaudio.c')
-rw-r--r--sound/usb/usbaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c
index ea1b1f87c1b..5429b169877 100644
--- a/sound/usb/usbaudio.c
+++ b/sound/usb/usbaudio.c
@@ -1044,7 +1044,7 @@ static int init_substream_urbs(snd_usb_substream_t *subs, unsigned int period_by
1044 u->urb->transfer_flags = URB_ISO_ASAP | URB_NO_TRANSFER_DMA_MAP; 1044 u->urb->transfer_flags = URB_ISO_ASAP | URB_NO_TRANSFER_DMA_MAP;
1045 u->urb->interval = 1 << subs->datainterval; 1045 u->urb->interval = 1 << subs->datainterval;
1046 u->urb->context = u; 1046 u->urb->context = u;
1047 u->urb->complete = snd_usb_complete_callback(snd_complete_urb); 1047 u->urb->complete = snd_complete_urb;
1048 } 1048 }
1049 1049
1050 if (subs->syncpipe) { 1050 if (subs->syncpipe) {
@@ -1070,7 +1070,7 @@ static int init_substream_urbs(snd_usb_substream_t *subs, unsigned int period_by
1070 u->urb->number_of_packets = 1; 1070 u->urb->number_of_packets = 1;
1071 u->urb->interval = 1 << subs->syncinterval; 1071 u->urb->interval = 1 << subs->syncinterval;
1072 u->urb->context = u; 1072 u->urb->context = u;
1073 u->urb->complete = snd_usb_complete_callback(snd_complete_sync_urb); 1073 u->urb->complete = snd_complete_sync_urb;
1074 } 1074 }
1075 } 1075 }
1076 return 0; 1076 return 0;