aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r--sound/soc/soc-dapm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 3a759c2872a8..54b4564b82b4 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -741,7 +741,8 @@ static int dapm_mux_update_power(struct snd_soc_dapm_widget *widget,
741 struct snd_soc_dapm_path *path; 741 struct snd_soc_dapm_path *path;
742 int found = 0; 742 int found = 0;
743 743
744 if (widget->id != snd_soc_dapm_mux) 744 if (widget->id != snd_soc_dapm_mux &&
745 widget->id != snd_soc_dapm_value_mux)
745 return -ENODEV; 746 return -ENODEV;
746 747
747 if (!snd_soc_test_bits(widget->codec, e->reg, mask, val)) 748 if (!snd_soc_test_bits(widget->codec, e->reg, mask, val))