[PATCH] ASoC: simple-card: Add dummy dai support simple sound card

Shengjiu Wang shengjiu.wang at gmail.com
Fri Feb 26 07:05:29 CET 2021


On Thu, Feb 25, 2021 at 9:17 PM Mark Brown <broonie at kernel.org> wrote:
>
> On Thu, Feb 25, 2021 at 08:08:32PM +0800, Shengjiu Wang wrote:
>
> > If sound card doesn't need specific codec device, just
> > dummy codec is enough, then we can link the dummy component
> > directly.
>
> This is a big red flag - what circumstances are these?  If it's a simple
> CODEC with no control then the general approach is to provide a driver
> which announces the capabilities of the CODEC and can be bound to as
> normal, the dummy component should never actively be used.

For the DMIC, SPDIF, HDMI ARC device or other
similar device that there is no codec connected,  then dummy codec is
just used for registering the sound card.

best regards
wang shengjiu


More information about the Alsa-devel mailing list