[alsa-devel] [PATCH] ASoC: imx-ssi: Use clk_prepare_enable()
Sascha Hauer
s.hauer at pengutronix.de
Fri May 25 22:10:13 CEST 2012
Hi Fabio,
On Fri, May 25, 2012 at 05:06:50PM -0300, Fabio Estevam wrote:
> Fix the following kernel crash:
>
> This applies against linux-next.
>
> sound/soc/fsl/imx-ssi.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c
> index cf3ed03..9027a83 100644
> --- a/sound/soc/fsl/imx-ssi.c
> +++ b/sound/soc/fsl/imx-ssi.c
> @@ -543,7 +543,7 @@ static int imx_ssi_probe(struct platform_device *pdev)
> ret);
> goto failed_clk;
> }
> - clk_enable(ssi->clk);
> + clk_prepare_enable(ssi->clk);
You should use clk_disable_unprepare then aswell.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the Alsa-devel
mailing list