summaryrefslogtreecommitdiffstats
path: root/hal/msm8960
diff options
context:
space:
mode:
authorXiaojun Sang <xsang@codeaurora.org>2015-08-03 19:38:28 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2015-12-20 22:48:08 -0800
commit040cc9f842b3a6a7042568cf6b3a1cd143566ba0 (patch)
tree8450637e8bc44f75088c87330e80a917ddd73e8b /hal/msm8960
parent109f4983bf7a7ff88f91a325d26f294e4776ef0c (diff)
downloadhardware_qcom_audio-040cc9f842b3a6a7042568cf6b3a1cd143566ba0.tar.gz
hardware_qcom_audio-040cc9f842b3a6a7042568cf6b3a1cd143566ba0.tar.bz2
hardware_qcom_audio-040cc9f842b3a6a7042568cf6b3a1cd143566ba0.zip
hal: audio_extn: enable speaker protection for tasha
Add speaker protection support for wsa speaker. Change-Id: I5468b2875d0fd028e5c32f25c15b5de0095e7007
Diffstat (limited to 'hal/msm8960')
-rw-r--r--hal/msm8960/platform.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/hal/msm8960/platform.c b/hal/msm8960/platform.c
index 23e30959..e7d6920a 100644
--- a/hal/msm8960/platform.c
+++ b/hal/msm8960/platform.c
@@ -1189,3 +1189,19 @@ void platform_set_gsm_mode(void *platform __unused, bool enable __unused)
{
ALOGE("%s: Not implemented", __func__);
}
+
+bool platform_can_enable_spkr_prot_on_device(snd_device_t snd_device __unused)
+{
+ /* speaker protection not implemented for this platform*/
+ return false;
+}
+
+int platform_get_spkr_prot_acdb_id(snd_device_t snd_device __unused)
+{
+ return -ENOSYS;
+}
+
+int platform_get_spkr_prot_snd_device(snd_device_t snd_device __unused)
+{
+ return -ENOSYS;
+}