From: Rene Herman Date: Mon, 19 Feb 2007 12:07:50 +0000 (+0100) Subject: [ALSA] gusextreme: set codec_flag X-Git-Tag: v2.6.22-rc1~22^2~110 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=442f4f36bed8bcadcbda299c615c12fae95eda99;p=linux-2.6 [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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/isa/gus/gusextreme.c b/sound/isa/gus/gusextreme.c index 74e34e6e16..0aeaa6cf6c 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) "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)