History

ASoC: wm8994: Fix class W controls

Commit 6e0650 (ASoC: wm8994: Use SOC_SINGLE_EXT() instead of open-coding it) went too far and converted a DAPM control to use SOC_SINGLE_EXT() which crashes. Revert that portion of the patch.

Mark Brown committed 13 years ago

Commit ed6a2771 parent 087ee091 file · +1 −1Browse files

Unified · Split

sound/soc/codecs/wm8994.c+1−1
@@ -1433,7 +1433,7 @@ SOC_DAPM_SINGLE("AIF1.1 Switch", WM8994_DAC2_RIGHT_MIXER_ROUTING, · 1432 unmodified lines
14331433
14341434 #define WM8994_CLASS_W_SWITCH(xname, reg, shift, max, invert) \
14351435 SOC_SINGLE_EXT(xname, reg, shift, max, invert, \
1436− snd_soc_get_volsw, wm8994_put_class_w)
1436+ snd_soc_dapm_get_volsw, wm8994_put_class_w)
14371437
14381438 static int wm8994_put_class_w(struct snd_kcontrol *kcontrol,
14391439 struct snd_ctl_elem_value *ucontrol)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t