Re: [PATCH 1/2] ASoC: qcom: q6asm: fix 24-bit PCM level via media format V4/V5

From: Srinivas Kandagatla

Date: Tue Dec 01 2026 - 05:57:57 EST


On 12/1/26 10:52 AM, Riccardo Mereu wrote:
> Capture moved to V4/V5 too (__q6asm_open_read() and
> q6asm_enc_cfg_blk_pcm_format_support()), so "no longer used" without
> "for playback" would be more accurate.
>
> After this patch ASM_MEDIA_FMT_MULTI_CHANNEL_PCM_V2 and
> struct asm_multi_channel_pcm_enc_cfg_v2 have no users left in q6asm.c.
>
> Unrelated to this series, but found while testing: since commit
> 55207a5b6959 ("soundwire: qcom: add multi-master support") every boot
> on this board hits the WARN_ON_ONCE() in qcom_swrm_port_target(), on the
> first prepare of the codec DMA path. qcom_swrm_compute_params() leaves

This got fixed in
https://lore.kernel.org/all/20261125103825.936939-1-srinivas.kandagatla@xxxxxxxxxxxxxxxx/

--srini
> port_params zeroed for ports whose qcom,ports-word-length is 0xff
> (agatti.dtsi has several), and qcom_swrm_port_params() then writes
> 0xffffffff to DPn_BLOCK_CTRL_1(offset, 0). The write itself is old, the
> WARN only made it visible. I've sent a small fix that skips those
> ports: "soundwire: qcom: skip DPn_BLOCK_CTRL_1 for ports without a word
> length".
>
> https://lore.kernel.org/r/20261201104714.142340-1-r.mereu.kernel@xxxxxxxxxx