commit | 122e152f51575c36fd7b90a23f1a0c7837f96e38 | [log] [tgz] |
---|---|---|
author | Robert Lee <lerobert@google.com> | Tue Jun 28 10:10:46 2022 +0800 |
committer | Robert Lee <lerobert@google.com> | Fri Jul 08 01:38:44 2022 +0000 |
tree | 86b7962b9b96e6d1949ecd5304c061adf57b739b | |
parent | a3b7f6fd2c93261c171a7a70015bcfc4661be8b0 [diff] |
alsa: refine reset pointer to prevent sleep in irq If there is other thread also call into aoc command and hold the mutex lock, KP happen when sleeping to wait the mutex lock inside aoc_compr_offload_get_io_samples() which is called in irq function. Bug: 236351705 Test: Builds Change-Id: I627432dd86ddda64dfb706e44f18e51337334767 Signed-off-by: Robert Lee <lerobert@google.com> (cherry picked from commit 01632cb8a1f4ba3e6292167ed62c454cfc8f8203)