summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/soc/msm/qdsp6v2/q6asm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/msm/qdsp6v2/q6asm.c b/sound/soc/msm/qdsp6v2/q6asm.c
index 22e14f431bb3..e3545405f61d 100644
--- a/sound/soc/msm/qdsp6v2/q6asm.c
+++ b/sound/soc/msm/qdsp6v2/q6asm.c
@@ -421,12 +421,12 @@ static void config_debug_fs_write(struct audio_buffer *ab)
}
static void config_debug_fs_init(void)
{
- out_buffer = kmalloc(OUT_BUFFER_SIZE, GFP_KERNEL);
+ out_buffer = kzalloc(OUT_BUFFER_SIZE, GFP_KERNEL);
if (out_buffer == NULL) {
pr_err("%s: kmalloc() for out_buffer failed\n", __func__);
goto outbuf_fail;
}
- in_buffer = kmalloc(IN_BUFFER_SIZE, GFP_KERNEL);
+ in_buffer = kzalloc(IN_BUFFER_SIZE, GFP_KERNEL);
if (in_buffer == NULL) {
pr_err("%s: kmalloc() for in_buffer failed\n", __func__);
goto inbuf_fail;