Merge "hal: use ANC devices when ANC is enabled for Native streams"
diff --git a/hal/audio_extn/fm.c b/hal/audio_extn/fm.c
index 0ef7c7e..ed3776c 100644
--- a/hal/audio_extn/fm.c
+++ b/hal/audio_extn/fm.c
@@ -243,20 +243,7 @@
if (ret >= 0) {
val = atoi(value);
if(val > 0)
- /*
- * Only when wsa does present and is in analog mode,
- * fm will stop/start here.
- * To-do: when the kernel codec type query change
- * is ready, enum of wsa mode should be checked here.
- * Currently, platform_get_wsa_mode will directly return
- * 1 when wsa is in analog mode.
- */
- if (platform_get_wsa_mode(adev) == 1) {
- fm_stop(adev);
- fm_start(adev);
- } else {
- select_devices(adev, USECASE_AUDIO_PLAYBACK_FM);
- }
+ select_devices(adev, USECASE_AUDIO_PLAYBACK_FM);
}
}
if (fmmod.restart_fm && (fmmod.scard_state == SND_CARD_STATE_ONLINE)) {