Re: ohci-s3c2410: fix name of bus clock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 26 February 2009, Ben Dooks wrote:
> The USB bus clock is usb-bus-host, so print the correct name in the
> dev_err() statement if we cannot find it.
> 
> Signed-off-by: Ben Dooks <ben@xxxxxxxxxxxx>

Acked-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>

> 
> Index: linux.git/drivers/usb/host/ohci-s3c2410.c
> ===================================================================
> --- linux.git.orig/drivers/usb/host/ohci-s3c2410.c	2009-01-29 22:49:46.000000000 +0000
> +++ linux.git/drivers/usb/host/ohci-s3c2410.c	2009-01-29 22:49:56.000000000 +0000
> @@ -371,7 +371,7 @@ static int usb_hcd_s3c2410_probe (const 
>  
>  	usb_clk = clk_get(&dev->dev, "usb-bus-host");
>  	if (IS_ERR(usb_clk)) {
> -		dev_err(&dev->dev, "cannot get usb-host clock\n");
> +		dev_err(&dev->dev, "cannot get usb-bus-host clock\n");
>  		retval = -ENOENT;
>  		goto err_clk;
>  	}
> 
> -- 
> Ben (ben@xxxxxxxxx, http://www.fluff.org/)
> 
>   'a smiley only costs 4 bytes'
> 
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux