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)
2 files changed