alsa

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Im currently doing a driver for the alsa subsystem. This is my first
interaction with it, so sorry if this is to trivial. Since this is my
first time on the subsystem I'm first posting my question here before
going to the alsa mailing list.

So, I'm doing a codec driver for this device 
https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU7118.pdf
. The device is a converter from PDM to I2S/TDM and it has 4 PDM inputs
which can be enabled/disabled via I2C. My question is, how can I add
controls to enable/disable the inputs? I'm trying to use
`SND_SOC_DAPM_SWITCH()` together with a `SOC_DAPM_SINGLE()` control.
The thing is, when I use alsamixer this controls only come up on the
playback tab which makes me feel that something is not ok (the device
only supports Capture stream). Is this correct way to add controls for
input's?

Any inputs would be helpful...


Thanks in advance,
Nuno Sá


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux