diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-01-25 08:41:52 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 17:30:15 +0100 |
commit | c626026dd72ec8363aaa862178adeacfa7ac09c5 (patch) | |
tree | 676752343a5140acae3add27d9b20d98bbaaa403 /sound/pci/oxygen/oxygen_mixer.c | |
parent | b78e3dbb04ab4cbe3b94ef5426bcd5b167b6fc75 (diff) | |
download | blackbird-op-linux-c626026dd72ec8363aaa862178adeacfa7ac09c5.tar.gz blackbird-op-linux-c626026dd72ec8363aaa862178adeacfa7ac09c5.zip |
[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.c | 2 |
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, err = chip->model->control_filter(&template); if (err < 0) return err; + if (err == 1) + continue; ctl = snd_ctl_new1(&template, chip); if (!ctl) return -ENOMEM; |