You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/11/22 09:38:21 UTC

[incubator-nuttx] 01/07: drivers: audio: Fix SRC define naming in cxd56

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 229bab35a3f4431bc2b49c496fc9521c8e585f89
Author: Tobias Johansson <to...@sony.com>
AuthorDate: Wed Nov 17 11:31:14 2021 +0100

    drivers: audio: Fix SRC define naming in cxd56
    
    Replaces the misnamed define CONFIG_CXD56_AUCIO_SRC with
    CONFIG_AUDIO_CXD56_SRC.
    
    Signed-off-by: Tobias Johansson <to...@sony.com>
---
 drivers/audio/cxd56.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/audio/cxd56.c b/drivers/audio/cxd56.c
index fcb0916..0fea604 100644
--- a/drivers/audio/cxd56.c
+++ b/drivers/audio/cxd56.c
@@ -1265,7 +1265,7 @@ static void cxd56_reset_channel_sel(cxd56_dmahandle_t handle)
     }
 }
 
-#ifdef CONFIG_CXD56_AUCIO_SRC
+#ifdef CONFIG_AUDIO_CXD56_SRC
 static void _process_audio_with_src(cxd56_dmahandle_t hdl, uint16_t err_code)
 {
   struct audio_msg_s msg;
@@ -1504,7 +1504,7 @@ static void cxd56_dma_int_handler(void)
 
   if (err_code != CXD56_AUDIO_ECODE_DMA_HANDLE_INV)
     {
-#ifdef CONFIG_CXD56_AUCIO_SRC
+#ifdef CONFIG_AUDIO_CXD56_SRC
     _process_audio_with_src(hdl, err_code);
 #else
     _process_audio(hdl, err_code);