diff options
author | Venkata Narendra Kumar Gutta <vgutta@codeaurora.org> | 2016-01-29 14:15:53 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-02-10 22:20:13 -0800 |
commit | 7f4817f3c053f50898c1d2a8c29be2ff92168a38 (patch) | |
tree | 9a8fb3511460dd1e9c68304879d9dd6481d2893e /hal/msm8960 | |
parent | 15de5a8c461fd24ceb139bac069d9baf396b3048 (diff) | |
download | hardware_qcom_audio-7f4817f3c053f50898c1d2a8c29be2ff92168a38.tar.gz hardware_qcom_audio-7f4817f3c053f50898c1d2a8c29be2ff92168a38.tar.bz2 hardware_qcom_audio-7f4817f3c053f50898c1d2a8c29be2ff92168a38.zip |
hal: Add support for FBSP in WSA analog mode
Feedback speaker protection(FBSP) is supported in WSA
analog mode. Add the required changes to support this
feature on 8937/8953 internal codec platforms.
CRs-Fixed: 970156
Change-Id: I1e5f6c1408ba6eb1c216cf8b254ac29551837dbb
Diffstat (limited to 'hal/msm8960')
-rw-r--r-- | hal/msm8960/platform.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/hal/msm8960/platform.c b/hal/msm8960/platform.c index be50289d..e32a73d2 100644 --- a/hal/msm8960/platform.c +++ b/hal/msm8960/platform.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. * Not a contribution. * * Copyright (C) 2013 The Android Open Source Project @@ -1206,3 +1206,8 @@ int platform_get_spkr_prot_snd_device(snd_device_t snd_device __unused) { return -ENOSYS; } + +int platform_spkr_prot_is_wsa_analog_mode(void *adev __unused) +{ + return 0; +} |