audio: Notify sthal of pending record as part of device enable

sthal by default disables soundtrigger
sessions when an audio record session is
started. The record hint is processed
in the sthal as part of enabling the record
audio route. This is insufficient as controls
enabled as part of audio record device enable
may be reset when the soundtrigger session
is reset in sthal. Provide hint to sthal
before enabling the record device to fix this.

Bug: 109700532
Change-Id: Idec8563e55107828ac48a1fb7cdde3b45ef0c07a
diff --git a/hal/audio_extn/soundtrigger.c b/hal/audio_extn/soundtrigger.c
index c11e747..ed8e6e8 100644
--- a/hal/audio_extn/soundtrigger.c
+++ b/hal/audio_extn/soundtrigger.c
@@ -362,9 +362,6 @@
     if (!st_dev)
        return;
 
-    if (st_dev->sthal_prop_api_version >= STHAL_PROP_API_VERSION_1_0)
-        return;
-
     if (snd_device >= SND_DEVICE_OUT_BEGIN &&
         snd_device < SND_DEVICE_OUT_END) {
         device_type = PCM_PLAYBACK;