19 Jan
2016
19 Jan
'16
12:16 a.m.
Hello,
I have two DAC's: left and right and I have made this two as dapm controls. However left and right dac needs to be enabled in the same I2C write operation.
I can easily make a callback and can enable both left and right bits in one operation however wondering if ALSA dapm core would have a better way to handle this.
Where is the relevant code to handle this i.e. merging two dapm widgets writes to the same register in one? I looked through the code and found that every widget gets added in the up and down list which is individually powered on/off.
Thanks,