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

From: Mark Brown

Date: Mon Oct 13 2025 - 08:06:03 EST


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.

Attachment: signature.asc
Description: PGP signature