[alsa-devel] [PATCH v3 5/6] ASoC: tlv320aic32x4: Support for master clock

Mark Brown broonie at kernel.org
Mon Jan 27 19:17:07 CET 2014


On Mon, Jan 27, 2014 at 01:03:09PM +0100, Markus Pargmann wrote:

>  	case SND_SOC_BIAS_STANDBY:
> +		/* Switch off master clock */
> +		if (!IS_ERR(aic32x4->mclk))
> +			clk_disable_unprepare(aic32x4->mclk);
> +
>  		/* Switch off PLL */
>  		snd_soc_update_bits(codec, AIC32X4_PLLPR,
>  				    AIC32X4_PLLEN, 0);

This looks like it's disabling the MCLK before disabling the PLL - if
the two are being disabled together I would expect to see the other way
around.

Otherwise this looks good to me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140127/dcff1734/attachment.sig>


More information about the Alsa-devel mailing list