hal: add support for configurable mono speaker
Add devices to support right speaker as mono device along with
speaker protection support. It also provides option to switch
between left and right speaker using setparameter.
CRs-Fixed: 1051075
Change-Id: Iac140448bd6f49444d22a9e496b71e3502dfaefe
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
diff --git a/hal/msm8960/platform.c b/hal/msm8960/platform.c
index 3c2dae6..b687d96 100644
--- a/hal/msm8960/platform.c
+++ b/hal/msm8960/platform.c
@@ -1229,6 +1229,11 @@
return -ENOSYS;
}
+int platform_get_vi_feedback_snd_device(snd_device_t snd_device __unused)
+{
+ return -ENOSYS;
+}
+
int platform_spkr_prot_is_wsa_analog_mode(void *adev __unused)
{
return 0;