summaryrefslogtreecommitdiffstats
path: root/sound/usb/clock.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/clock.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/clock.c')
-rw-r--r--sound/usb/clock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/usb/clock.c b/sound/usb/clock.c
index b853f8df794f..7754a1034545 100644
--- a/sound/usb/clock.c
+++ b/sound/usb/clock.c
@@ -295,12 +295,11 @@ int snd_usb_init_sample_rate(struct snd_usb_audio *chip, int iface,
switch (altsd->bInterfaceProtocol) {
case UAC_VERSION_1:
+ default:
return set_sample_rate_v1(chip, iface, alts, fmt, rate);
case UAC_VERSION_2:
return set_sample_rate_v2(chip, iface, alts, fmt, rate);
}
-
- return -EINVAL;
}