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

Commit a67109fd authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal: Remove repeated unwanted code"

parents 93d696e6 5a27e817
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -395,12 +395,6 @@ static void check_usecases_codec_backend(struct audio_device *adev,
            }
        }

        list_for_each(node, &adev->usecase_list) {
            usecase = node_to_item(node, struct audio_usecase, list);
            if (switch_device[usecase->id]) {
                enable_snd_device(adev, snd_device, false);
            }
        }
        /* Make sure new snd device is enabled before re-routing the streams */
        audio_route_update_mixer(adev->audio_route);