Re: [Alsa-user] General question about capabilities for switches

2016-09-23 Thread Clemens Ladisch
Ulrich Sørensen wrote: > SOC_DOUBLE_EXT("ALC Switch", DA7213_ALC_CTRL1, DA7213_ALC_L_EN_SHIFT, >DA7213_ALC_R_EN_SHIFT, DA7213_ALC_EN_MAX, >DA7213_NO_INVERT, snd_soc_get_volsw, da7213_put_alc_sw), > > In amixer the capabilities are show as: > > Simple mixer control 'A

[Alsa-user] General question about capabilities for switches

2016-09-23 Thread Ulrich Sørensen
Hi, I have a general question about the capabilities of switches to help me understand how it works. I am using the da7213 codec and the driver has a switch to enable/disable the ALC which is defined as: SOC_DOUBLE_EXT("ALC Switch", DA7213_ALC_CTRL1, DA7213_ALC_L_EN_SHIFT, DA721