lkml.org 
[lkml]   [2009]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/4] ASoC: TWL4030: Only update the needed bits in *set_dai_sysclk
On Mon, Oct 19, 2009 at 03:42:19PM +0300, Peter Ujfalusi wrote:

> + apll_ctrl = twl4030_read_reg_cache(codec, TWL4030_REG_APLL_CTL);
> + apll_ctrl &= ~TWL4030_APLL_INFREQ;
> switch (freq) {

I'll apply this - it's idiomatic for the current driver - but you might
want to look at snd_soc_update_bits() which does a read/modify/write
cycle for you.


\
 
 \ /
  Last update: 2009-10-19 14:57    [from the cache]
©2003-2011 Jasper Spaans