diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-11-25 22:22:08 +0100 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-11-25 22:22:08 +0100 |
commit | 4b066391b2a2260c453658bf9f2bd4648b3c2fc4 (patch) | |
tree | f6ca4685db4893f8cb5e9424388c55a70da02a3d /sound/pci | |
parent | 07dda8196a4e266f4304f1b1735614bf04e5f33d (diff) |
[ALSA] echoaudio - Remove kfree_nocheck()
Remove obsoleted kfree_nochec() (for debug).
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/echoaudio/echoaudio.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sound/pci/echoaudio/echoaudio.c b/sound/pci/echoaudio/echoaudio.c index e695502f713..43b408ada1d 100644 --- a/sound/pci/echoaudio/echoaudio.c +++ b/sound/pci/echoaudio/echoaudio.c @@ -1878,10 +1878,9 @@ static int snd_echo_free(struct echoaudio *chip) if (chip->dsp_registers) iounmap(chip->dsp_registers); - if (chip->iores) { - release_resource(chip->iores); - kfree_nocheck(chip->iores); - } + if (chip->iores) + release_and_free_resource(chip->iores); + DE_INIT(("MMIO freed.\n")); pci_disable_device(chip->pci); |