]> err.no Git - linux-2.6/blobdiff - sound/mips/au1x00.c
[ALSA] Remove vmalloc wrapper, kfree_nocheck()
[linux-2.6] / sound / mips / au1x00.c
index 3f9684f1d1d2a24e1fe7cbcf24f98d3a4ca3a5a7..b7af85f5bfb4a797342b418d860ca73bab2817d3 100644 (file)
@@ -606,8 +606,7 @@ snd_au1000_free(snd_card_t *card)
                /* put internal AC97 block into reset */
                au1000->ac97_ioport->cntrl = AC97C_RS;
                au1000->ac97_ioport = NULL;
-               release_resource(au1000->ac97_res_port);
-               kfree_nocheck(au1000->ac97_res_port);
+               release_and_free_resource(au1000->ac97_res_port);
        }
 
        if (au1000->stream[PLAYBACK]->dma >= 0)