summaryrefslogtreecommitdiffstats
path: root/sound/usb/pcm.c
diff options
context:
space:
mode:
authorTakashi Iwai2010-09-03 22:38:52 +0200
committerTakashi Iwai2010-09-03 22:38:52 +0200
commit68885a3ff38ed51fa02f241feb405c9922a90ee0 (patch)
tree2fc626df39d5e0e1f6b065238141f7d49187c737 /sound/usb/pcm.c
parentALSA: usb-audio: add BOSS ME-25 support (diff)
parentALSA: usb-audio: fix detection of vendor-specific device protocol settings (diff)
downloadkernel-qcow2-linux-68885a3ff38ed51fa02f241feb405c9922a90ee0.tar.gz
kernel-qcow2-linux-68885a3ff38ed51fa02f241feb405c9922a90ee0.tar.xz
kernel-qcow2-linux-68885a3ff38ed51fa02f241feb405c9922a90ee0.zip
Merge branch 'fix/misc' into topic/misc
Diffstat (limited to 'sound/usb/pcm.c')
-rw-r--r--sound/usb/pcm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c
index 58ed6820a8cf..f49756c1b837 100644
--- a/sound/usb/pcm.c
+++ b/sound/usb/pcm.c
@@ -173,13 +173,12 @@ int snd_usb_init_pitch(struct snd_usb_audio *chip, int iface,
switch (altsd->bInterfaceProtocol) {
case UAC_VERSION_1:
+ default:
return init_pitch_v1(chip, iface, alts, fmt);
case UAC_VERSION_2:
return init_pitch_v2(chip, iface, alts, fmt);
}
-
- return -EINVAL;
}
/*