From: Tobias Hansen <Tobias.Hansen@physik.uni-hamburg.de>
Date: Mon, 12 Oct 2009 14:24:15 +0000 (+0200)
Subject: ALSA: snd-usb-us122l: corrent error number for not probing US-144 on ehci-hcd
X-Git-Tag: firefly_0821_release~9833^2~3657^2~16^2~37
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a688e4885c1aa6b88ab5ffa64655bacc01749c9e;p=firefly-linux-kernel-4.4.55.git

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>
---

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