summaryrefslogtreecommitdiff
path: root/sound/usb
diff options
context:
space:
mode:
authorTobias Hansen <Tobias.Hansen@physik.uni-hamburg.de>2009-10-12 18:24:15 +0400
committerTakashi Iwai <tiwai@suse.de>2009-10-13 10:20:20 +0400
commita688e4885c1aa6b88ab5ffa64655bacc01749c9e (patch)
tree5f90439a4f58be8cf2fe13922538abf93063f253 /sound/usb
parent68f139204c1a2b10cc292d9cca036ebdbb6730a8 (diff)
downloadlinux-a688e4885c1aa6b88ab5ffa64655bacc01749c9e.tar.xz
ALSA: snd-usb-us122l: corrent error number for not probing US-144 on ehci-hcd
snd-usb-us122l: corrent error number for not probing US-144 on ehci-hcd This is the correct error number for telling the USB system that this driver is not for the device. Signed-off-by: Tobias Hansen <Tobias.Hansen@physik.uni-hamburg.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
-rw-r--r--sound/usb/usx2y/us122l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/usx2y/us122l.c b/sound/usb/usx2y/us122l.c
index 6c7b64a23c13..b54e8ca360d1 100644
--- a/sound/usb/usx2y/us122l.c
+++ b/sound/usb/usx2y/us122l.c
@@ -601,7 +601,7 @@ static int snd_us122l_probe(struct usb_interface *intf,
if (device->descriptor.idProduct == USB_ID_US144
&& device->speed == USB_SPEED_HIGH) {
snd_printk(KERN_ERR "disable ehci-hcd to run US-144 \n");
- return -ENOENT;
+ return -ENODEV;
}
snd_printdd(KERN_DEBUG"%p:%i\n",