From 2726684d75990067d2dfd8efb11e422e17563740 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 17 Jul 2008 23:37:20 +0200 Subject: [PATCH] --- yaml --- r: 106478 b: refs/heads/master c: 82af6bc0986c5140efc875b2d91326031f0254ab h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/isa/opti9xx/opti92x-ad1848.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index c6833b97d0dc..88b68bdba741 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2522d7359301efadfb5744ebd3c623c3af4a7b30 +refs/heads/master: 82af6bc0986c5140efc875b2d91326031f0254ab diff --git a/trunk/sound/isa/opti9xx/opti92x-ad1848.c b/trunk/sound/isa/opti9xx/opti92x-ad1848.c index 41c047e665ec..d20abb286124 100644 --- a/trunk/sound/isa/opti9xx/opti92x-ad1848.c +++ b/trunk/sound/isa/opti9xx/opti92x-ad1848.c @@ -688,7 +688,7 @@ static void snd_card_opti9xx_free(struct snd_card *card) if (chip) { #ifdef OPTi93X struct snd_cs4231 *codec = chip->codec; - if (codec->irq > 0) { + if (codec && codec->irq > 0) { disable_irq(codec->irq); free_irq(codec->irq, codec); }