28 Nov
2011
28 Nov
'11
9:44 a.m.
2011/11/25 Mark Brown broonie@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