22 Jun
2012
22 Jun
'12
11:25 a.m.
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.