projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ef37cd
)
[ALSA] oxygen: fix control filter
author
Clemens Ladisch
<clemens@ladisch.de>
Mon, 21 Jan 2008 07:52:11 +0000
(08:52 +0100)
committer
Jaroslav Kysela
<perex@perex.cz>
Thu, 31 Jan 2008 16:30:08 +0000
(17:30 +0100)
Actually use the template that was maybe changed by the control filter
instead of the original one.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/oxygen/oxygen_mixer.c
patch
|
blob
|
history
diff --git
a/sound/pci/oxygen/oxygen_mixer.c
b/sound/pci/oxygen/oxygen_mixer.c
index 11114cedc05dd599136b9734d4bac12a73164d67..0993c29e62f106abf5ff9943eeec4fe3e72e1d92 100644
(file)
--- a/
sound/pci/oxygen/oxygen_mixer.c
+++ b/
sound/pci/oxygen/oxygen_mixer.c
@@
-667,7
+667,7
@@
static int add_controls(struct oxygen *chip,
err = chip->model->control_filter(&template);
if (err < 0)
return err;
- ctl = snd_ctl_new1(&
controls[i]
, chip);
+ ctl = snd_ctl_new1(&
template
, chip);
if (!ctl)
return -ENOMEM;
err = snd_ctl_add(chip->card, ctl);