[PATCH] ASoC: fsl_ssi: fix AC'97 mode

Fabio Estevam festevam at gmail.com
Sun Jun 28 09:09:30 AEST 2015


On Sat, Jun 27, 2015 at 7:51 PM, Maciej S. Szmigiero
<mail at maciej.szmigiero.name> wrote:

> +
> +       ret = clk_prepare_enable(fsl_ac97_data->clk);
> +       if (ret) {
> +               pr_err("ac97 read clk_prepare_enable failed: %d\n",
> +                       ret);
> +               return -1;

'return ret' would be better here.

Thanks


More information about the Linuxppc-dev mailing list