sthal: fix race condition of amp-ref route

note: Race condition happend during STREAM_INACTIVE and
      DEVICE_INACTIVE, Application can start_reg during
      this period. That will cause 48K amp-ref route
      doesn't disable before enable 16K mic route.
      That causes crash.

Bug:138081640
Test: manually test microphone concurrency and bargein scenario
Change-Id: Iaca6de7b1847b9b40a65ddab6398b19489a84da1
1 file changed