On Thu, Sep 26, 2024 at 08:03:55AM +0600, Binbin Zhou wrote: > I will rewrite the dependency between the card and the DAI driver, as follows: > config SND_SOC_LOONGSON_CARD > tristate "Loongson Sound Card Driver" > depends on LOONGARCH || COMPILE_TEST > select SND_SOC_LOONGSON_I2S_PCI if PCI > select SND_SOC_LOONGSON_I2S_PLATFORM if OF > config SND_SOC_LOONGSON_I2S_PCI > tristate "Loongson I2S-PCI Device Driver" > select REGMAP_MMIO > config SND_SOC_LOONGSON_I2S_PLATFORM > tristate "Loongson I2S controller as platform device" > select REGMAP_MMIO > select SND_SOC_GENERIC_DMAENGINE_PCM That looks good apart from the PCI and platform drivers should probably also have a depends on LOONGARCH || COMPILE_TEST so they're not shown on architectures where they can't be used unless doing testing.
Attachment:
signature.asc
Description: PGP signature
- Follow-Ups:
- References:
- [PATCH v2 0/9] ASoC: Some issues about loongson i2s
- From: Binbin Zhou
- [PATCH v2 7/9] ASoC: loongson: Add I2S controller driver as platform device
- From: Binbin Zhou
- Re: [PATCH v2 7/9] ASoC: loongson: Add I2S controller driver as platform device
- From: Mark Brown
- Re: [PATCH v2 7/9] ASoC: loongson: Add I2S controller driver as platform device
- From: Binbin Zhou
- [PATCH v2 0/9] ASoC: Some issues about loongson i2s
- Prev by Date: [PATCH] ALSA: hda/realtek: Add quirk for Huawei MateBook 13 KLV-WX9
- Next by Date: [PATCH] ASoC: SOF: ipc3: Use standard dev_dbg API
- Previous by thread: Re: [PATCH v2 7/9] ASoC: loongson: Add I2S controller driver as platform device
- Next by thread: Re: [PATCH v2 7/9] ASoC: loongson: Add I2S controller driver as platform device
- Index(es):