hal: audio_extn: enable speaker protection for tasha
Add speaker protection support for wsa speaker.
Change-Id: I5468b2875d0fd028e5c32f25c15b5de0095e7007
diff --git a/hal/msm8960/platform.c b/hal/msm8960/platform.c
index 23e3095..e7d6920 100644
--- a/hal/msm8960/platform.c
+++ b/hal/msm8960/platform.c
@@ -1189,3 +1189,19 @@
{
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;
+}