audio: Update mixer knobs after re-applying output route
authorChristopher N. Hesse <raymanfx@gmail.com>
Tue, 6 Mar 2018 19:16:00 +0000 (20:16 +0100)
committerDavis Mosenkovs <davikovs@gmail.com>
Tue, 6 Mar 2018 23:22:01 +0000 (23:22 +0000)
Change-Id: I35fbcc03e9666e579134512b443610e546c31441

audio/audio_hw.c

index 621107c2c17f3bbd9260c3ac1dd08e0e931b6b6c..58793167d408cc943e97841a475081eb442eb809 100644 (file)
@@ -1021,6 +1021,7 @@ int disable_snd_device(struct audio_device *adev,
                  */
                 out_snd_device_name = get_snd_device_name(out_uc_info->out_snd_device);
                 audio_route_apply_path(mixer_card->audio_route, out_snd_device_name);
+                update_mixer = true;
             }
             if (update_mixer) {
                 audio_route_update_mixer(mixer_card->audio_route);