diff options
Diffstat (limited to 'dsp/q6afe.c')
-rw-r--r-- | dsp/q6afe.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dsp/q6afe.c b/dsp/q6afe.c index f926efbd..60e8e27b 100644 --- a/dsp/q6afe.c +++ b/dsp/q6afe.c @@ -7636,6 +7636,12 @@ int __init afe_init(void) void afe_exit(void) { + if (this_afe.apr) { + apr_reset(this_afe.apr); + atomic_set(&this_afe.state, 0); + this_afe.apr = NULL; + rtac_set_afe_handle(this_afe.apr); + } afe_delete_cal_data(); config_debug_fs_exit(); |