[PATCH v4 2/2] ASoC: spacemit: add i2s support for K1 SoC

Mark Brown broonie at kernel.org
Mon Oct 13 05:05:58 PDT 2025


On Sun, Sep 21, 2025 at 04:52:17PM +0800, Troy Mitchell wrote:

> +	case SND_SOC_DAIFMT_DSP_A:
> +	case SND_SOC_DAIFMT_DSP_B:
> +		snd_pcm_hw_constraint_minmax(substream->runtime,
> +					     SNDRV_PCM_HW_PARAM_CHANNELS,
> +					     1, 1);
> +		snd_pcm_hw_constraint_mask64(substream->runtime,
> +					     SNDRV_PCM_HW_PARAM_FORMAT,
> +					     SNDRV_PCM_FMTBIT_S32_LE);
> +		break;

The handling for one of these is buggy, DSP A and B are distinct modes
but throughout the driver they're handled identically AFAICT.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20251013/284f4c42/attachment.sig>


More information about the linux-riscv mailing list