commit | 4ab289fabc7a47c144376423a6540bcdf686a592 | [log] [tgz] |
---|---|---|
author | qctecmdr <qctecmdr@localhost> | Fri Aug 02 06:57:20 2019 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Aug 02 06:57:20 2019 -0700 |
tree | 6fad1881bd9023c338d8ccc29a6c38244ed944e3 | |
parent | e6ee0e0746f4ea50b6c4b1b12f5153873c020f9c [diff] | |
parent | 4f43e35531ac7a9bb0c7b5f96797f3ae05748ab9 [diff] |
Merge "hal: reset swb path during ssr offline"
diff --git a/hal/audio_hw.c b/hal/audio_hw.c index e541281..eeb87ac 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c
@@ -9435,6 +9435,8 @@ platform_snd_card_update(adev->platform, status); audio_extn_fm_set_parameters(adev, parms); audio_extn_auto_hal_set_parameters(adev, parms); + if (status == CARD_STATUS_OFFLINE) + audio_extn_sco_reset_configuration(); } else if (is_ext_device_status) { platform_set_parameters(adev->platform, parms); }