HAL: Add headset device check in get backend index

during 44.1k audio playback voice headset rx is mute while
placing a MO/MT call if touch tone is enabled, because
default backend is returned in check and set asrc mode

add headset device check in get backend index to return
correct backend in the above scenario

Change-Id: Ib22b7f99661d363afcb39fe3aa1c21f3f9c4696a
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c
index 459c37c..3b8ee62 100644
--- a/hal/msm8974/platform.c
+++ b/hal/msm8974/platform.c
@@ -4814,6 +4814,9 @@
                 else if (strncmp(backend_tag_table[snd_device], "headphones",
                             sizeof("headphones")) == 0)
                         port = HEADPHONE_BACKEND;
+                else if (strncmp(backend_tag_table[snd_device], "headset",
+                            sizeof("headset")) == 0)
+                        port = HEADPHONE_BACKEND;
                 else if (strcmp(backend_tag_table[snd_device], "hdmi") == 0)
                         port = HDMI_RX_BACKEND;
                 else if (strcmp(backend_tag_table[snd_device], "display-port") == 0)