[alsa-devel] [PATCH V2 3/9] sound:asoc: Add support for synopsys i2s controller as per ASoC framework.

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Jun 22 11:25:23 CEST 2012

On Thu, Jun 21, 2012 at 03:54:51PM +0530, Rajeev Kumar wrote:
> This patch add support for synopsys I2S controller as per the ASoC
> framework.

I've applied this but I had to rewrite the subject line.

> +static int dw_i2s_suspend(struct snd_soc_dai *dai)
> +{
> +	struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(dai);
> +
> +	clk_disable(dev->clk);
> +	return 0;
> +}

It seems a bit sad that we can't disable the clock when the device is
idle.  If you need the clock for register I/O then something like the
Tegra approach of using regmap to provide a cached copy of the register
map when the device is idle should work well.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120622/246aaa59/attachment.sig 

More information about the Alsa-devel mailing list