浏览代码

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>
Tobias Hansen 15 年之前
父节点
当前提交
a688e4885c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sound/usb/usx2y/us122l.c

+ 1 - 1
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",