From e9e15689d0e58bf4e4ebd232454942bf3d855f34 Mon Sep 17 00:00:00 2001 From: Tobias Johansson Date: Wed, 17 Nov 2021 13:40:45 +0100 Subject: [PATCH] drivers: audio: Close MQ in cxd56 SRC Closes the message queue file handle when the sample rate converter is de-initialized. Signed-off-by: Tobias Johansson --- drivers/audio/cxd56_src.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/audio/cxd56_src.c b/drivers/audio/cxd56_src.c index 01348418b7b..9438f3d7296 100644 --- a/drivers/audio/cxd56_src.c +++ b/drivers/audio/cxd56_src.c @@ -529,6 +529,8 @@ int cxd56_src_deinit(void) file_close(&dump_file_post); #endif + file_mq_close(&g_src.mq); + return OK; }