aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usbaudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/usb/usbaudio.c')
-rw-r--r--sound/usb/usbaudio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c
index a7183c5876b3..08c5efcf5be2 100644
--- a/sound/usb/usbaudio.c
+++ b/sound/usb/usbaudio.c
@@ -2588,7 +2588,7 @@ static int parse_audio_endpoints(snd_usb_audio_t *chip, int iface_no)
2588 * disconnect streams 2588 * disconnect streams
2589 * called from snd_usb_audio_disconnect() 2589 * called from snd_usb_audio_disconnect()
2590 */ 2590 */
2591static void snd_usb_stream_disconnect(struct list_head *head, struct usb_driver *driver) 2591static void snd_usb_stream_disconnect(struct list_head *head)
2592{ 2592{
2593 int idx; 2593 int idx;
2594 snd_usb_stream_t *as; 2594 snd_usb_stream_t *as;
@@ -3282,11 +3282,11 @@ static void snd_usb_audio_disconnect(struct usb_device *dev, void *ptr)
3282 snd_card_disconnect(card); 3282 snd_card_disconnect(card);
3283 /* release the pcm resources */ 3283 /* release the pcm resources */
3284 list_for_each(p, &chip->pcm_list) { 3284 list_for_each(p, &chip->pcm_list) {
3285 snd_usb_stream_disconnect(p, &usb_audio_driver); 3285 snd_usb_stream_disconnect(p);
3286 } 3286 }
3287 /* release the midi resources */ 3287 /* release the midi resources */
3288 list_for_each(p, &chip->midi_list) { 3288 list_for_each(p, &chip->midi_list) {
3289 snd_usbmidi_disconnect(p, &usb_audio_driver); 3289 snd_usbmidi_disconnect(p);
3290 } 3290 }
3291 usb_chip[chip->index] = NULL; 3291 usb_chip[chip->index] = NULL;
3292 up(&register_mutex); 3292 up(&register_mutex);