diff options
author | Rene Herman <rene.herman@gmail.com> | 2007-02-19 07:07:50 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-05-11 10:55:40 -0400 |
commit | 442f4f36bed8bcadcbda299c615c12fae95eda99 (patch) | |
tree | f9b961469fded7c8fcf1161473da0b2f819ccc7e /sound/isa/gus/gusextreme.c | |
parent | b44dfe1a4a39dbf55d204486a45aa3263eb12df0 (diff) |
[ALSA] gusextreme: set codec_flag
The gusextreme driver neglects to set the gus->codec_flag meaning
snd_gf1_pcm_new() allocates a second 'PCM Playback Volume' control,
which makes the driver fail to load.
Signed-off-by: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/isa/gus/gusextreme.c')
-rw-r--r-- | sound/isa/gus/gusextreme.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/isa/gus/gusextreme.c b/sound/isa/gus/gusextreme.c index 74e34e6e16f2..0aeaa6cf6cf0 100644 --- a/sound/isa/gus/gusextreme.c +++ b/sound/isa/gus/gusextreme.c | |||
@@ -283,6 +283,7 @@ static int __devinit snd_gusextreme_probe(struct device *dev, unsigned int n) | |||
283 | "detected at 0x%lx\n", dev->bus_id, gus->gf1.port); | 283 | "detected at 0x%lx\n", dev->bus_id, gus->gf1.port); |
284 | goto out; | 284 | goto out; |
285 | } | 285 | } |
286 | gus->codec_flag = 1; | ||
286 | 287 | ||
287 | error = snd_es1688_pcm(es1688, 0, NULL); | 288 | error = snd_es1688_pcm(es1688, 0, NULL); |
288 | if (error < 0) | 289 | if (error < 0) |