commit | ba22746b80540900459ae6ae210d5505cef5b2d4 | [log] [tgz] |
---|---|---|
author | Christian Morlok <ChristianMorlok@gmail.com> | Sat Nov 21 11:49:36 2015 +0100 |
committer | Jackeagle <jackeagle102gmail.com> | Sun Nov 13 09:30:38 2016 +0530 |
tree | 2e322d731ce31a0d4b133ba6bd469a5e64d1fd3d | |
parent | 094a703f86fe3cc40a996b6e309986f5b219c412 [diff] |
audio_route: fix unsupported control types in audio_route_update_path I don't like infinite loops Change-Id: I57f1f871b572c68cf1d7adef599396a3cbb7fc5d
diff --git a/audio_route/audio_route.c b/audio_route/audio_route.c index 90b114d..8c23ca3 100644 --- a/audio_route/audio_route.c +++ b/audio_route/audio_route.c
@@ -786,6 +786,7 @@ type = mixer_ctl_get_type(ms->ctl); if (!is_supported_ctl_type(type)) { + i = reverse ? (i - 1) : (i + 1); continue; }