Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e9d88a8bd9fb85d2a4a0adb89c47dcae437fa308 Commit: e9d88a8bd9fb85d2a4a0adb89c47dcae437fa308 Parent: 7ef37cd95494a0a9be425c4d75f21ee8d2807b5a Author: Clemens Ladisch <[EMAIL PROTECTED]> AuthorDate: Mon Jan 21 08:52:11 2008 +0100 Committer: Jaroslav Kysela <[EMAIL PROTECTED]> CommitDate: Thu Jan 31 17:30:08 2008 +0100
[ALSA] oxygen: fix control filter Actually use the template that was maybe changed by the control filter instead of the original one. Signed-off-by: Clemens Ladisch <[EMAIL PROTECTED]> Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]> --- sound/pci/oxygen/oxygen_mixer.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sound/pci/oxygen/oxygen_mixer.c b/sound/pci/oxygen/oxygen_mixer.c index 11114ce..0993c29 100644 --- 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); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html