hal: Fix aanc-path selection on SDM660

Ensure aanc-path is selected on SDM660 for
AANC path to get established.

CRs-Fixed: 2018432
Change-Id: Iea9ce17bffd7f5157e6726041013fdd0f3799452
diff --git a/hal/msm8916/platform.c b/hal/msm8916/platform.c
index 125f7c3..23288b3 100644
--- a/hal/msm8916/platform.c
+++ b/hal/msm8916/platform.c
@@ -6829,11 +6829,19 @@
     return 0;
 }
 
-void platform_update_aanc_path(struct audio_device *adev __unused,
-                               snd_device_t out_snd_device __unused,
-                               bool enable __unused,
-                               char *str __unused)
+void platform_update_aanc_path(struct audio_device *adev,
+                               snd_device_t out_snd_device,
+                               bool enable,
+                               char *str)
 {
+    ALOGD("%s: aanc out device(%d) mixer cmd = %s, enable = %d\n",
+          __func__, out_snd_device, str, enable);
+
+    if (enable)
+        audio_route_apply_and_update_path(adev->audio_route, str);
+    else
+        audio_route_reset_and_update_path(adev->audio_route, str);
+
    return;
 }