Skip to content

Commit

Permalink
ALSA: snd-usb-us122l: corrent error number for not probing US-144 on …
Browse files Browse the repository at this point in the history
…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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
Tobias Hansen authored and tiwai committed Oct 13, 2009
1 parent 68f1392 commit a688e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/usb/usx2y/us122l.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a688e48

Please sign in to comment.