]> www.infradead.org Git - nvme.git/commit
ASoC: fsl-asoc-card: add compatibility to use 2 codecs in dai-links
authorElinor Montmasson <elinor.montmasson@savoirfairelinux.com>
Thu, 27 Jun 2024 08:31:00 +0000 (10:31 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 8 Jul 2024 15:09:37 +0000 (16:09 +0100)
commitfcc6ace84f1f6ce2211af25c3c8fb30a0fb2bb2c
treed5096504adb17672bdfe04f9d86bdd69c52b6ed1
parentc68fa0d9b0f8cc7c3ae7d29c02adbc97622a73f5
ASoC: fsl-asoc-card: add compatibility to use 2 codecs in dai-links

Adapt the driver to work with configurations using two codecs or more.
Modify fsl_asoc_card_probe() to handle use cases where 2 codecs are
given in the device tree.
This will be needed to add support for the SPDIF.

Use cases using one codec will ignore any given codecs other than the
first.

Co-developed-by: Philip-Dylan Gleonec <philip-dylan.gleonec@savoirfairelinux.com>
Signed-off-by: Philip-Dylan Gleonec <philip-dylan.gleonec@savoirfairelinux.com>
Signed-off-by: Elinor Montmasson <elinor.montmasson@savoirfairelinux.com>
Link: https://patch.msgid.link/20240627083104.123357-4-elinor.montmasson@savoirfairelinux.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl-asoc-card.c