From: Richard Zhao Date: Tue, 7 Oct 2008 00:05:20 +0000 (+0800) Subject: ALSA: ASoC: add new param mux to dapm_mux_update_power X-Git-Tag: v2.6.28-rc1~720^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb01e2b99264d579085c63966744d91b87c6b35d;p=pandora-kernel.git ALSA: ASoC: add new param mux to dapm_mux_update_power Function dapm_mux_update_power needs enum index mux and register mask value val as parameters, but it only has a parameter val, and uses it as both val and mux. snd_soc_test_bits(widget->codec, e->reg, mask, val) val is register mask here, e->texts[val] but val should be enum index mux here. This patch adds a new param mux to fix it. Signed-off-by: Richard Zhao Signed-off-by: Mark Brown Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed