Macro example for codec gain control

Previous thread: 10 Sec sleep in wait_for_avail_min function by Nitin Arora on Monday, December 13, 2010 - 2:11 am. (1 message)

Next thread: none
From: Jet Li
Date: Monday, December 13, 2010 - 6:37 pm

Hi,

I am looking to add PGA gain control to the codec driver which I am
working on. My understanding is that macros such as SOC_SINGLE_TLV is
designed to program only one codec register.
However, the codec I am working on requires asserting a bit on another
register for the gain to kick in. Is there already helper macros for
my scenario? If no, are there examples which perform something
similar?

Thanks very much
--

Previous thread: 10 Sec sleep in wait_for_avail_min function by Nitin Arora on Monday, December 13, 2010 - 2:11 am. (1 message)

Next thread: none