Re: [PATCH 3/7] ASoC: TWL4030: Make offset cancellation path configurable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

resending, because:

On Tuesday 25 May 2010 14:34:04 Ujfalusi Peter (Nokia-D/Tampere) wrote:
> For paths use the defines from
> include/linux/mfd/twl4030-codec.h:
> TWL4030_OFFSET_CNCL_SEL_*

... 

>  	/* initiate offset cancellation */
>  	anamicl = twl4030_read_reg_cache(codec, TWL4030_REG_ANAMICL);
> +	anamicl &= ~TWL4030_OFFSET_CNCL_SEL;
> +	anamicl |= (setup->offset_cncl_path << 5);

No need for the shift, it seams to be left from some older test code.

-- 
Péter
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux