diff options
Diffstat (limited to 'sound/isa')
-rw-r--r-- | sound/isa/opti9xx/miro.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/isa/opti9xx/miro.c b/sound/isa/opti9xx/miro.c index 40b64cd54c85..e374869e3e21 100644 --- a/sound/isa/opti9xx/miro.c +++ b/sound/isa/opti9xx/miro.c | |||
@@ -1229,7 +1229,8 @@ static void snd_card_miro_free(struct snd_card *card) | |||
1229 | struct snd_miro *miro = card->private_data; | 1229 | struct snd_miro *miro = card->private_data; |
1230 | 1230 | ||
1231 | release_and_free_resource(miro->res_aci_port); | 1231 | release_and_free_resource(miro->res_aci_port); |
1232 | miro->aci->aci_port = 0; | 1232 | if (miro->aci) |
1233 | miro->aci->aci_port = 0; | ||
1233 | release_and_free_resource(miro->res_mc_base); | 1234 | release_and_free_resource(miro->res_mc_base); |
1234 | } | 1235 | } |
1235 | 1236 | ||