summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Marble <drmarble1@gmail.com>2017-04-14 12:45:00 -0500
committerRashed Abdel-Tawab <rashed@linux.com>2017-10-28 18:10:28 -0700
commitf4e597e2162d8251e8a898b5cff84851516f5f55 (patch)
treed0b6bdf5a4abb95f5f383fac4ce6b816259b6195
parente2ed67a918028346e7e945eb731a745ee6a186f5 (diff)
downloadhardware_qcom_audio-staging/lineage-15.0_rebase-android-8.0.0_r23.tar.gz
hardware_qcom_audio-staging/lineage-15.0_rebase-android-8.0.0_r23.tar.bz2
hardware_qcom_audio-staging/lineage-15.0_rebase-android-8.0.0_r23.zip
msm8960: define HFP_ASM_RX_TX 24staging/lineage-15.0_rebase-android-8.0.0_r23
Taken from hardware/qcom/audio-caf/msm8960/hal/msm8969/platform.h Fixes build error from android-7.1.2_r2 merge: hardware/qcom/audio/default/hal/audio_extn/utils.c:150:25: error: use of undeclared identifier 'HFP_ASM_RX_TX' pcm_device_id = HFP_ASM_RX_TX; Change-Id: I6434c31b0310be87fa7c2128da5d641898787c4f
-rw-r--r--hal/msm8960/platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hal/msm8960/platform.h b/hal/msm8960/platform.h
index 640b2965..9d35485d 100644
--- a/hal/msm8960/platform.h
+++ b/hal/msm8960/platform.h
@@ -137,6 +137,8 @@ enum {
#define LOW_LATENCY_CAPTURE_PERIOD_SIZE 240
#define LOW_LATENCY_CAPTURE_USE_CASE 0
+#define HFP_ASM_RX_TX 24
+
#define PLATFORM_INFO_XML_PATH "/system/etc/audio_platform_info.xml"
#define PLATFORM_INFO_XML_BASE_STRING "/system/etc/audio_platform_info"