X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Fpci%2Femu10k1%2Femu10k1_synth.c;fp=sound%2Fpci%2Femu10k1%2Femu10k1_synth.c;h=1fa393f22a998fa48cfeea9a785a6d55ea9dc75a;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=204995a1dfbd15e311f0dbce1360b7529b4a5f95;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/sound/pci/emu10k1/emu10k1_synth.c b/sound/pci/emu10k1/emu10k1_synth.c index 204995a1d..1fa393f22 100644 --- a/sound/pci/emu10k1/emu10k1_synth.c +++ b/sound/pci/emu10k1/emu10k1_synth.c @@ -62,6 +62,7 @@ static int snd_emu10k1_synth_new_device(struct snd_seq_device *dev) if (snd_emux_register(emu, dev->card, arg->index, "Emu10k1") < 0) { snd_emux_free(emu); + emu->hw = NULL; return -ENOMEM; }