[alsa-devel] [PATCH] snd-usb-us122l: corrent error number for not probing US-144 on ehci-hcd

Takashi Iwai tiwai at suse.de
Tue Oct 13 08:23:28 CEST 2009


At Mon, 12 Oct 2009 16:24:15 +0200,
Tobias Hansen wrote:
> 
> 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 at physik.uni-hamburg.de>

Applied now.  Thanks.


Takashi

> ---
> 
> --- us122l.c.orig    2009-10-12 08:46:01.000000000 +0200
> +++ us122l.c    2009-10-12 14:51:05.255040655 +0200
> @@ -601,7 +601,7 @@ static int snd_us122l_probe(struct usb_i
>      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",
> 


More information about the Alsa-devel mailing list