[alsa-devel] [PATCH] ASoC: add RT5640 CODEC driver

Mark Brown broonie at kernel.org
Tue Jun 4 11:53:53 CEST 2013

On Tue, Jun 04, 2013 at 02:39:36PM +0800, Bard Liao wrote:

> Actually, I don't know if I need to call "regcache_cache_only(rt5640->regmap, false);" here.
> We never call "regcache_cache_only(rt5640->regmap, true);" in the codec driver.
> I assume the cache_only flag is default false.
> If yes, I think I can remove "regcache_cache_only(rt5640->regmap, false);" from the code driver.
> If not, I will move it to the beginning of if (SND_SOC_BIAS_OFF == codec->dapm.bias_level) condition.

I'd actually put in code to enable cache only mode when you power off,
that way when the support for the LDO enable GPIO is added it will not
need to be re-added.
-------------- 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/20130604/c97abdaf/attachment.sig>

More information about the Alsa-devel mailing list