commit | bc81e6e56eeea88bb1e3b6105c80850ffb58841c | [log] [tgz] |
---|---|---|
author | Geoffrey McRae <geoff@hostfission.com> | Sat Jun 13 14:05:18 2020 +1000 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Wed Jun 17 14:44:51 2020 +0200 |
tree | 8ef87b12ca785ad56d77f4323d79686421372362 | |
parent | 81e0efb2e57cfdb076887b0f99ce6f0353952617 [diff] |
audio/jack: simplify the re-init code path Instead of checking for the audodev state in each code path, centralize the check into the initialize function itself to make it safe to call it at any time. Signed-off-by: Geoffrey McRae <geoff@hostfission.com> Message-id: 20200613040518.38172-7-geoff@hostfission.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>