hal: speaker protect: Add deinit function to clean up

This patch adds a deinit function for speaker protection module to
perform any clean ups needed. This as well implements the deinit for
Cirrus Logic speaker protection module to wait for the threads to
finish.

Bug: 111113768
Test: VtsHalAudioV4_0Target
Change-Id: I3c89f173d726e265ce64ea4a7e43b49210f8721c
Signed-off-by: David Lin <dtwlin@google.com>
5 files changed
tree: 7fa729da365b6b4b0ff5e388682a6c486dc56723
  1. hal/
  2. legacy/
  3. post_proc/
  4. visualizer/
  5. voice_processing/
  6. Android.mk