milos-linux/sound
Jorijn van der Graaf 08f135ee41 ASoC: codecs: wcd9378: sync with the mainline v1 submission
Mirror the driver as prepared for mainline (work/linux commit
917ea639925b, "ASoC: codecs: wcd9378: add TX/capture codec driver"),
per the carry-mirrors-upstream rule. On top of the previous carry
state this brings the maintainer-eye pre-review fixes:

 - latch the per-ADC sys-usage bit and target SDCA function at
   PRE_PMU; POST_PMD previously recomputed them from the live input
   mux and could tear down the wrong function after a mux change
 - clear the requested sys_usage_mask bit when no profile matches
 - drop the unreachable -EACCES carve-out on the TX runtime-PM hold
   (caused a usage-count underflow in unbind)
 - mark the write-1-clear FUNC_STAT registers volatile
 - drop the unused is_dapm parameter, the stale sys_usage write-skip
   cache, the SDW_SCP_INT1_IMPL_DEF unmask and the PS0 re-request
   hack; clamp DT channel-map reads
 - name the SWRS_SCP_SDCA_INTRTYPE registers; trim the PS0-failure
   debug dump; Kconfig imply + help text

One deviation from the mainline patch: v7.1.2 predates
sdw_slave_wait_for_init(), so the open-coded
wait_for_completion_timeout() stays here.

Assisted-by: Claude:claude-fable-5
Signed-off-by: Jorijn van der Graaf <jorijnvdgraaf@catcrafts.net>
2026-07-06 20:53:39 +02:00
..
ac97 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
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 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
oss ALSA: echoaudio: Add SPDX ids to some files 2026-02-18 08:57:38 +01:00
parisc Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
pci ALSA: asihpi: Fix potential OOB array access at reading cache 2026-05-16 15:41:58 +02:00
pcmcia Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ppc Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sh Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
soc ASoC: codecs: wcd9378: sync with the mainline v1 submission 2026-07-06 20:53:39 +02:00
sparc ALSA: sparc/dbri: add missing fallthrough 2026-05-06 10:09:17 +02:00
spi
synth Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
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 ASoC: Add SPDX ids to many soc files 2026-02-22 23:52:20 +00:00
xen Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00