From ddd20a414f33fb52f46da962d13ff2aa49a0e77b Mon Sep 17 00:00:00 2001 From: Vidyakumar Athota Date: Fri, 27 Apr 2018 12:02:29 -0700 Subject: [PATCH] uapi: audio: update maximum number of channels supported Audio calibration data supports 32 channels now so update maximum number of channels supported to 32. Change-Id: I0b94e23fe88c4382d78db85014a81e440f720660 Signed-off-by: Vidyakumar Athota --- include/dsp/q6voice.h | 2 +- include/uapi/linux/msm_audio_calibration.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/dsp/q6voice.h b/include/dsp/q6voice.h index be72b72d34..d0ba99001d 100644 --- a/include/dsp/q6voice.h +++ b/include/dsp/q6voice.h @@ -21,7 +21,7 @@ #define SESSION_NAME_LEN 20 #define NUM_OF_MEMORY_BLOCKS 1 #define NUM_OF_BUFFERS 2 -#define VSS_NUM_CHANNELS_MAX 8 +#define VSS_NUM_CHANNELS_MAX 32 #define VSS_CHANNEL_MAPPING_SIZE (sizeof(uint8_t) * VSS_NUM_CHANNELS_MAX) /* * BUFFER BLOCK SIZE based on diff --git a/include/uapi/linux/msm_audio_calibration.h b/include/uapi/linux/msm_audio_calibration.h index 3b97ab2bf1..0672ee3112 100644 --- a/include/uapi/linux/msm_audio_calibration.h +++ b/include/uapi/linux/msm_audio_calibration.h @@ -393,7 +393,7 @@ struct audio_cal_info_lsm { int32_t app_type; }; -#define VSS_NUM_CHANNELS_MAX 8 +#define VSS_NUM_CHANNELS_MAX 32 struct audio_cal_info_voc_top { int32_t topology;