Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f43e355 authored by Zhou Song's avatar Zhou Song
Browse files

hal: reset swb path during ssr offline

During ssr offline, the swb path needs to be reset,
then ssr online is received, the path can be enabled
again.

Change-Id: Ib97a3ece2ba08ce8701ef369eafdb415e4f63cfd
parent ddc1a312
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -9304,6 +9304,8 @@ static void adev_snd_mon_cb(void *cookie, struct str_parms *parms)
            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);
        }