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)
committerChristopher N. Hesse <raymanfx@gmail.com>
Tue, 6 Mar 2018 19:25:21 +0000 (19:25 +0000)
Change-Id: I35fbcc03e9666e579134512b443610e546c31441

audio/audio_hw.c

index ff6ba33481031cac5bbcde04c1808ab4818f4e22..42e457571c819e450eb2099a963574d7c03caf18 100644 (file)
@@ -1026,6 +1026,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);