Re: Re: [PATCH] USB: ohci-s3c2410: return proper error if clk_get fails

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

 



> >   	usb_clk = clk_get(&dev->dev, "usb-bus-host");
> >   	if (IS_ERR(usb_clk)) {
> >   		dev_err(&dev->dev, "cannot get usb-bus-host clock\n");
> > -		retval = -ENOENT;
> > +		retval = PTR_ERR(clk);
>
>     You mean 'usb_clk'?

Yes. I mean 'usb_clk'.
I will send patch v2.
I appreciate your reply.


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