6 May
2011
6 May
'11
2:54 p.m.
On Fri, May 06, 2011 at 01:46:49PM +0800, Lu Guanqun wrote:
- /* DMIC configuration: mono output to PCM2 */
- snd_soc_update_bits(codec, UPD9976_MICCTRL, BIT(1)|BIT(0), 0x1);
- /* Set MIC2 to pseudo-differential */
- snd_soc_update_bits(codec, UPD9976_MICSELVOL, BIT(4), BIT(4));
These look like regular routing controls to me... If they do need to be set with magic writes they should be platform data but things like pseudo differential inputs are normally just represented as two single ended inputs for which userspace just happens to choose a path that looks differential.