diff options
author | Eric Laurent <elaurent@google.com> | 2015-09-14 12:43:44 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2015-09-14 12:43:44 -0700 |
commit | c633338c83da3760c4965d29af2afd80d3cce840 (patch) | |
tree | 142ae2b0db586b0fbc29918394423666c1c94ece /hal/msm8974/platform.h | |
parent | 9af4b91ddd17beb8e0db420874014a5662848159 (diff) | |
download | hardware_qcom_audio-c633338c83da3760c4965d29af2afd80d3cce840.tar.gz hardware_qcom_audio-c633338c83da3760c4965d29af2afd80d3cce840.tar.bz2 hardware_qcom_audio-c633338c83da3760c4965d29af2afd80d3cce840.zip |
msm7984: fix plaform_set_parameters().
Do not reset max mic count to default if the key is not found.
This will reset any previously set mic count if another parameter is
listed after in audio_platform_info.xml.
Bug: 23942738.
Change-Id: Ib027756ab83141570a57984b1cb884864646660d
Diffstat (limited to 'hal/msm8974/platform.h')
-rw-r--r-- | hal/msm8974/platform.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h index 1c067267..c1f901ca 100644 --- a/hal/msm8974/platform.h +++ b/hal/msm8974/platform.h @@ -225,7 +225,8 @@ enum { #define LIB_MDM_DETECT "libmdmdetect.so" #define PLATFORM_CONFIG_KEY_SOUNDCARD_NAME "snd_card_name" -#define PLATFORM_MAX_MIC_COUNT "input_mic_max_count" +#define PLATFORM_CONFIG_KEY_MAX_MIC_COUNT "input_mic_max_count" +#define PLATFORM_DEFAULT_MIC_COUNT 2 /* CSD-CLIENT related functions */ typedef int (*init_t)(bool); |