diff options
author | Richard Zhao <linuxzsc@gmail.com> | 2008-10-07 08:05:20 +0800 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-10-10 13:41:54 +0200 |
commit | cb01e2b99264d579085c63966744d91b87c6b35d (patch) | |
tree | ff93cff44a66a3deb30c69900206b5eda7a7b485 /sound/i2c | |
parent | ff33f2303b0ea8e5ac15af91de8d8538a5d58db1 (diff) |
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 <linuxzsc@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions