Files
Jeff Johnson c7448ca0a5 audio/pcm: use host os_timestamp for PLAYBACK to fix reload crash (#30)
PLAYBACK used dev_timestamp from the T2 coprocessor clock domain,
which drifts from the host's ktime_get_boottime() after module reload.
This produced wild position values in aaudio_pcm_pointer, triggering
XRUN and a scheduling-while-atomic panic when snd_pcm_do_stop ran
from DMA IRQ context.

Switch PLAYBACK to os_timestamp (host boottime at message receipt),
matching what CAPTURE already does. The mailbox transit delay (~100
microseconds at most) is negligible in a 347 ms ALSA buffer and
eliminates the crash entirely.
2026-06-24 03:13:41 -05:00
..
2019-07-31 14:11:38 +02:00
2019-07-29 21:36:59 +02:00
2019-08-30 14:43:48 +02:00
2019-08-30 14:43:48 +02:00