diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-06-28 14:39:36 (GMT) |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-06-28 17:31:52 (GMT) |
commit | 8caf7aa26e0797e5706043f94c491acd1a08636a (patch) | |
tree | 62314bffcc4eaf6829668e16fe03af03c80d35b0 /sound/pci/echoaudio/echoaudio.c | |
parent | ccb99eee9c2430ad7ce2e7026fae93d6668d2d27 (diff) | |
download | linux-fsl-qoriq-8caf7aa26e0797e5706043f94c491acd1a08636a.tar.xz |
[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>
Diffstat (limited to 'sound/pci/echoaudio/echoaudio.c')
-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 e695502..43b408a 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); |