[alsa-devel] [PATCH 3/7] ASoC: TWL4030: Make offset cancellation path configurable
Peter Ujfalusi
peter.ujfalusi at nokia.com
Tue May 25 13:59:51 CEST 2010
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
More information about the Alsa-devel
mailing list