Re: [PATCH V1] ASoC: fsl_ssi: refine ipg clock usage in this module

From: Timur Tabi
Date: Tue Sep 09 2014 - 09:25:42 EST


Shengjiu Wang wrote:
+ if (ssi_private->soc->imx)
+ clk_prepare_enable(ssi_private->clk);

How about this instead?

if (ssi_private->clk)
clk_prepare_enable(ssi_private->clk);

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