summaryrefslogtreecommitdiff
path: root/sound/usb/stream.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-10-03 08:48:26 +0200
committerTakashi Iwai <tiwai@suse.de>2022-10-03 08:48:26 +0200
commit02f2e785c4834828876a4701926416157dfd7b26 (patch)
tree012f28cfcb57a15fb722c2c21bce3b0872172869 /sound/usb/stream.c
parent84ab9408118cac99ab83f1f7f6066d75dd3f24b6 (diff)
parent56e696c0f0c71b77fff921fc94b58a02f0445b2c (diff)
Merge branch 'for-next' into for-linus
Diffstat (limited to 'sound/usb/stream.c')
-rw-r--r--sound/usb/stream.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/usb/stream.c b/sound/usb/stream.c
index f10f4e6d3fb8..f75601ca2d52 100644
--- a/sound/usb/stream.c
+++ b/sound/usb/stream.c
@@ -1222,12 +1222,6 @@ static int __snd_usb_parse_audio_interface(struct snd_usb_audio *chip,
if (err < 0)
return err;
}
-
- /* try to set the interface... */
- usb_set_interface(chip->dev, iface_no, 0);
- snd_usb_init_pitch(chip, fp);
- snd_usb_init_sample_rate(chip, fp, fp->rate_max);
- usb_set_interface(chip->dev, iface_no, altno);
}
return 0;
}