On Tue, Sep 24, 2024 at 03:00:19PM +0800, Binbin Zhou wrote: > + /* interface format */ > + switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { > + case SND_SOC_DAIFMT_I2S: > + adciface &= 0xFC; > + daciface &= 0xF9; > + break; > + case SND_SOC_DAIFMT_RIGHT_J: > + case SND_SOC_DAIFMT_LEFT_J: > + case SND_SOC_DAIFMT_DSP_A: > + case SND_SOC_DAIFMT_DSP_B: > + break; This results in an identical configuration for everything except I2S which must be buggy, these are distinct formats in ways that are visible on the bus.
Attachment:
signature.asc
Description: PGP signature
- Follow-Ups:
- Re: [PATCH v2 2/9] ASoC: codecs: Add support for ES8323
- From: Binbin Zhou
- Re: [PATCH v2 2/9] ASoC: codecs: Add support for ES8323
- References:
- [PATCH v2 0/9] ASoC: Some issues about loongson i2s
- From: Binbin Zhou
- [PATCH v2 2/9] ASoC: codecs: Add support for ES8323
- From: Binbin Zhou
- [PATCH v2 0/9] ASoC: Some issues about loongson i2s
- Prev by Date: Re: [PATCH] ASoC: atmel: mchp-pdmc: Skip ALSA restoration if substream runtime is uninitialized
- Next by Date: Re: [PATCH v2 4/9] ASoC: codecs: Add uda1342 codec driver
- Previous by thread: [PATCH v2 2/9] ASoC: codecs: Add support for ES8323
- Next by thread: Re: [PATCH v2 2/9] ASoC: codecs: Add support for ES8323
- Index(es):