Revert "hal: Fix wrong output device for voip/music concurrent playback"

As the device restoration is now handled from APM side, it's not needed
anymore.

This reverts commit a9d11687527aca64d5e2025722be5841579876d8.

CRs-Fixed: 2139110
Change-Id: I06c63ab23355a12e07d6c4999e9c6bfab549c48e
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index aa52ef8..a673883 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -3349,8 +3349,6 @@
 {
     struct stream_out *out = (struct stream_out *)stream;
     struct audio_device *adev = out->dev;
-    struct audio_usecase *uc_info;
-    struct listnode *node;
     bool do_stop = true;
 
     ALOGD("%s: enter: stream (%p) usecase(%d: %s)", __func__,
@@ -3396,13 +3394,6 @@
         if (do_stop) {
             stop_output_stream(out);
         }
-        //restore output device for active usecase when current snd device and output device mismatch
-        list_for_each(node, &adev->usecase_list) {
-            uc_info = node_to_item(node, struct audio_usecase, list);
-            if ((uc_info->type == PCM_PLAYBACK) &&
-                (uc_info->out_snd_device != platform_get_output_snd_device(adev->platform, uc_info->stream.out)))
-                select_devices(adev, uc_info->id);
-        }
         pthread_mutex_unlock(&adev->lock);
     }
     pthread_mutex_unlock(&out->lock);