diff options
author | Will McVicker <willmcvicker@google.com> | 2023-03-17 01:21:25 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-03-17 01:21:25 +0000 |
commit | 969a735c9fdb35f74995c048e481072f0af38347 (patch) | |
tree | d121abe2413139db2ddc099054b5cab6c19a5c44 | |
parent | 473bf62a4092dedafc8af3676471e87809da85d1 (diff) | |
parent | 11ba130d1e1737aca9f2d2bdd5213c492d861d0d (diff) | |
download | aoc-969a735c9fdb35f74995c048e481072f0af38347.tar.gz |
GKI: Revert "alsa: compress: enable pause in draining" am: 11ba130d1e
Original change: https://partner-android-review.googlesource.com/c/kernel/private/google-modules/aoc/+/2004197
Change-Id: I68ba3dee124776d1d87d6e13d46d95c55dde0862
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | alsa/aoc_alsa_compr.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/alsa/aoc_alsa_compr.c b/alsa/aoc_alsa_compr.c index 7e744c7..6e21692 100644 --- a/alsa/aoc_alsa_compr.c +++ b/alsa/aoc_alsa_compr.c @@ -14,25 +14,11 @@ #include <linux/platform_device.h> #include <linux/version.h> -#include <trace/hooks/snd_compr.h> - #include "aoc_alsa.h" #include "aoc_alsa_drv.h" static void aoc_stop_work_handler(struct work_struct *work); -static void vh_ep_use_pause_in_drain(void *data, bool *use_pause_in_drain, bool *leave_draining) -{ - *use_pause_in_drain = true; - *leave_draining = true; -} - -static int aoc_compr_vh_snd_compr_init() -{ - return register_trace_android_vh_snd_compr_use_pause_in_drain(vh_ep_use_pause_in_drain, - NULL); -} - static void aoc_compr_reset_handler(aoc_aud_service_event_t evnt, void *cookies) { struct aoc_alsa_stream *alsa_stream = (struct aoc_alsa_stream *)cookies; @@ -871,7 +857,6 @@ int aoc_compr_init(void) return err; } - aoc_compr_vh_snd_compr_init(); return 0; } |