25 May
2010
25 May
'10
11:59 a.m.
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