On Thu, Jun 03, 2010 at 12:20:24PM +0100, Mark Brown wrote:
On Thu, Jun 03, 2010 at 11:07:57AM +1000, Stuart Longland wrote:
Please do remember to CC maintainers on posts to mailing lists. I've had to remind you previously about dropping CCs (and see that you were doing that again this morning)...
Well no, this was a separate query to the other thread, and one of a more general nature (not specific to the 'AIC3204... and not necessarily ASoC specific either).
My query though; the mixer on this CODEC provides gain settings, helpfully scaled in dB, as signed integers. For instance; the four line level output drivers: Headphone left/right,and Line Out left/right, can all be adjusted in gain from -6dB through to +29dB.
Are you looking for SOC_DOUBLE_R_SX_TLV and variants thereof by any chance? If you need variants you'd need to add them but that's straightforward.
Is this something that has been added since kernel 2.6.34? I'll have a hunt around for it, but I haven't spotted that in the kernel tree I'm using.
I'm running slightly-behind bleeding edge here, since I hit a few regressions[1] with the latest code (ARM-wise), and rather than battle those in this early phase of development, I decided to move back to something stable, get it working, then bring it forward. It's for this reason that my driver currently uses the older driver registration model.
Once I get it working; there will likely be two forks of it -- one brought up to mainline to go into the tree... and one to be backported to kernel 2.6.28 which is what we're using in our product (as everything else we have works with that kernel).
Regards,