milos-linux/sound
Jorijn van der Graaf d571dd42d3 ASoC: qcom: q6apm-lpass-dais: start the graph at prepare
The DAPM power-up sequence runs during snd_pcm prepare, but the BE
port graph is only started at trigger time. A codec that powers up
synchronously from a DAPM widget event and needs a running bit clock
at that point - such as aw88261 since commit caea99ac809d ("ASoC:
codecs: aw88261: remove async start") - can therefore never see a
live clock: its power-up check runs before the trigger and fails on
every stream start.

Start the graph at the end of prepare instead, mirroring what
q6afe_dai_prepare() does on the legacy stack, so the interface
clocks already run when DAPM powers up the codec. The FE side
already starts its own graph at prepare in q6apm_dai_prepare();
only the BE waited for trigger. The trigger-time start is kept as
a fallback, guarded by is_port_started.

Tested on the Fairphone (Gen. 6) - 2x aw88261 on Senary MI2S:
without this the amplifiers fail to power up with SYSST reporting
"no clock" on every stream start; with it they start synchronously,
including for the first short stream of the boot.

Assisted-by: Claude:claude-fable-5
Signed-off-by: Jorijn van der Graaf <jorijnvdgraaf@catcrafts.net>
2026-07-05 21:32:11 +02:00
..
ac97
aoa ALSA: aoa: onyx: Update IEC958 sample-rate status for PCM playback 2026-04-06 10:41:00 +02:00
arm ASoC: pxa2xx-ac97: fix error handling for reset GPIO descriptor 2026-04-13 18:00:34 +01:00
atmel
core ALSA: timer: Fix UAF at snd_timer_user_params() 2026-06-07 09:23:44 +02:00
drivers ALSA: pcmtest: Return -EFAULT on pattern read copy failure 2026-05-04 13:26:23 +02:00
firewire ALSA: firewire-motu: Protect register DSP event queue positions 2026-05-25 09:19:44 +02:00
hda ALSA: hda/cs420x: Add CS4208 fixup for iMac16,1 2026-05-27 07:24:15 +02:00
i2c ALSA: i2c: ak4xxx-adda: seed AK5365 cache with reset defaults 2026-04-09 12:01:01 +02:00
isa ALSA: sscape: Add suspend and resume support 2026-04-12 10:00:34 +02:00
mips
oss
parisc
pci ALSA: asihpi: Fix potential OOB array access at reading cache 2026-05-16 15:41:58 +02:00
pcmcia
ppc
sh
soc ASoC: qcom: q6apm-lpass-dais: start the graph at prepare 2026-07-05 21:32:11 +02:00
sparc ALSA: sparc/dbri: add missing fallthrough 2026-05-06 10:09:17 +02:00
spi
synth
usb ALSA: usb-audio: Add iface reset and delay quirk for AB13X USB Audio 2026-06-04 17:27:35 +02:00
virtio ALSA: virtio: drop an extaneous kernel-doc comment 2026-04-17 09:47:54 +02:00
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c