[alsa-devel] DAPM core: update bits in the same i2c operation

noman pouigt variksla at gmail.com
Tue Jan 19 00:16:39 CET 2016


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,


More information about the Alsa-devel mailing list