hal: Remove the sleep time to restart output if disconnecting bt-a2dp

The 50ms sleep time only is needed for card offline,it is unnecessary
when switching device from bt-a2dp to other device, which will cause
that remaining PCM data can't get drained and volume bursts can be heard.

Remove the sleep time to restart output when switching device from
bt-a2dp.

CRs-fixed: 2626614
Change-Id: I768619a5a1b6d7a995c41551566bead8861da37f
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index c829cfb..7f21e62 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -3700,7 +3700,7 @@
         CARD_STATUS_OFFLINE == adev->card_status) {
         ALOGW("out->card_status or adev->card_status offline, try again");
         ret = -EIO;
-        goto error_config;
+        goto error_fatal;
     }
 
     //Update incall music usecase to reflect correct voice session
@@ -4038,12 +4038,13 @@
     audio_streaming_hint_end();
     audio_extn_perf_lock_release(&adev->perf_lock_handle);
     stop_output_stream(out);
-error_config:
+error_fatal:
     /*
      * sleep 50ms to allow sufficient time for kernel
      * drivers to recover incases like SSR.
      */
     usleep(50000);
+error_config:
     ATRACE_END();
     enable_gcov();
     return ret;