drivers/audio: mpxxdtyy: Align log defines to audio dmic case
Use CONFIG_AUDIO_DMIC_LOG_LEVEL macro to define mpxxdtyy driver log levels. Signed-off-by: Armando Visconti <armando.visconti@st.com>
This commit is contained in:
parent
240783a229
commit
2602a18490
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
#include "mpxxdtyy.h"
|
||||
#include <i2s.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_MPXXDTYY_LOG_LEVEL
|
||||
#define LOG_LEVEL CONFIG_AUDIO_DMIC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
LOG_MODULE_DECLARE(mpxxdtyy);
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include "mpxxdtyy.h"
|
||||
|
||||
#define LOG_LEVEL CONFIG_MPXXDTYY_LOG_LEVEL
|
||||
#define LOG_LEVEL CONFIG_AUDIO_DMIC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
LOG_MODULE_REGISTER(mpxxdtyy);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue