Audio: DLKM support for all audio modules

Switch to DLKM for all audio kernel modules.

Change-Id: I6a96023a21f655f873531af9ace81f2b01eb0f58
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:
Laxminath Kasam
2017-10-05 01:44:16 +05:30
parent 97c9da7a1e
commit 8b1366a648
115 changed files with 5347 additions and 353 deletions

View File

@@ -1875,7 +1875,7 @@ struct miscdevice rtac_misc = {
.fops = &rtac_fops,
};
static int __init rtac_init(void)
int __init rtac_init(void)
{
int i = 0;
@@ -1949,7 +1949,13 @@ nomem:
return -ENOMEM;
}
module_init(rtac_init);
void __exit rtac_exit(void)
{
kzfree(rtac_adm_buffer);
kzfree(rtac_asm_buffer);
kzfree(rtac_afe_buffer);
misc_deregister(&rtac_misc);
}
MODULE_DESCRIPTION("SoC QDSP6v2 Real-Time Audio Calibration driver");
MODULE_LICENSE("GPL v2");