aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/oxygen_mixer.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2008-01-25 02:41:52 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:30:15 -0500
commitc626026dd72ec8363aaa862178adeacfa7ac09c5 (patch)
tree676752343a5140acae3add27d9b20d98bbaaa403 /sound/pci/oxygen/oxygen_mixer.c
parentb78e3dbb04ab4cbe3b94ef5426bcd5b167b6fc75 (diff)
[ALSA] add TempoTec HiFier driver
Add a driver for the MediaTek/TempoTec HiFier Fantasia sound card. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/oxygen/oxygen_mixer.c')
-rw-r--r--sound/pci/oxygen/oxygen_mixer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/oxygen/oxygen_mixer.c b/sound/pci/oxygen/oxygen_mixer.c
index 21b227a94ace..fe53318e94e0 100644
--- a/sound/pci/oxygen/oxygen_mixer.c
+++ b/sound/pci/oxygen/oxygen_mixer.c
@@ -712,6 +712,8 @@ static int add_controls(struct oxygen *chip,
712 err = chip->model->control_filter(&template); 712 err = chip->model->control_filter(&template);
713 if (err < 0) 713 if (err < 0)
714 return err; 714 return err;
715 if (err == 1)
716 continue;
715 ctl = snd_ctl_new1(&template, chip); 717 ctl = snd_ctl_new1(&template, chip);
716 if (!ctl) 718 if (!ctl)
717 return -ENOMEM; 719 return -ENOMEM;