Skip to content

Commit

Permalink
[ALSA] gusextreme: set codec_flag
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rene Herman authored and Jaroslav Kysela committed May 11, 2007
1 parent b44dfe1 commit 442f4f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/isa/gus/gusextreme.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ static int __devinit snd_gusextreme_probe(struct device *dev, unsigned int n)
"detected at 0x%lx\n", dev->bus_id, gus->gf1.port);
goto out;
}
gus->codec_flag = 1;

error = snd_es1688_pcm(es1688, 0, NULL);
if (error < 0)
Expand Down

0 comments on commit 442f4f3

Please sign in to comment.