> -     if (prepare)
> +     if (prepare) {
> +             /* Optional bus clock */
> +             ret = clk_prepare_enable(dev->busclk);
> +             if (ret)
> +                     return ret;
> +
>               return clk_prepare_enable(dev->clk);

This leaves 'busclk' enabled when the other clock fails.

Attachment: signature.asc
Description: PGP signature

Reply via email to