hal: codec calibration data using hwdep nodes
Push the codec driver calibration using hwdep nodes.
Based on CAF commit:
55e6df22520565e752d40a66b5ed5180f63d6ba1
Change-Id: If8ae828135a708567fd42b6fc5ff40d107aa1235
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c
index 305e1c1..39d1aa5 100644
--- a/hal/msm8974/platform.c
+++ b/hal/msm8974/platform.c
@@ -816,8 +816,11 @@
/* Initialize platform specific ids and/or backends*/
platform_info_init();
+
audio_extn_spkr_prot_init(adev);
+ audio_extn_hwdep_cal_send(adev->snd_card, my_data->acdb_handle);
+
/* load csd client */
platform_csd_init(my_data);