[alsa-devel] [PATCH v2] sound/soc/codecs: add LAPIS Semiconductor ML26124

Tomoya MORINAGA tomoya.rohm at gmail.com
Mon Nov 28 10:44:04 CET 2011


2011/11/25 Mark Brown <broonie at opensource.wolfsonmicro.com>: wrote
>
>> +static const struct snd_kcontrol_new ml26124_snd_controls[] = {
>> +     SOC_SINGLE_TLV("Capture Digital Volume", ML26124_RECORD_DIG_VOL, 0, 0xff, 1, rec_play_digi_vol),
>> +     SOC_SINGLE_TLV("Playback Digital Volume", ML26124_PLBAK_DIG_VOL, 0, 0xff, 1, rec_play_digi_vol),
>
>> +     SOC_SINGLE("Digital Volume Switch", ML26124_FILTER_EN, 4, 1, 0),
>
> This needs either a Playback or Capture in there to match up with the
> above unless it genuinely does mute both which would be really weird.
>

Digital Volume Switch is used for both Playback and Capture.

Regards,
tomoya


More information about the Alsa-devel mailing list