[PATCH v2 6/8] usb: host: ohci-s3c2410 Use clk_prepare_enable/clk_disable_unprepare

Fabio Estevam festevam at gmail.com
Mon Jul 22 20:15:12 EDT 2013


On Mon, Jul 22, 2013 at 8:49 PM, Tomasz Figa <tomasz.figa at gmail.com> wrote:

>         dev_dbg(&dev->dev, "s3c2410_start_hc:\n");
>
> -       clk_enable(usb_clk);
> +       clk_prepare_enable(usb_clk);

 clk_prepare_enable may fail, so you would better check its return value.



More information about the linux-arm-kernel mailing list