mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[ALSA] Remove vmalloc wrapper, kfree_nocheck()
- Remove vmalloc wrapper - Add release_and_free_resource() to remove kfree_nocheck() from each driver and simplify the code Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
parent
93f2e37840
commit
b1d5776d86
44 changed files with 86 additions and 311 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue