]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: fsl_audmix: register card device depends on 'dais' property
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 26 Feb 2025 10:05:08 +0000 (18:05 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Apr 2025 08:15:15 +0000 (10:15 +0200)
commitd4fcd06e1231bf0cc75af312b4ee9a7a3d12409e
tree2cbe1fb0ce1fe9d0eae94390d219d7d61673fdf0
parentd981c3d2980aa5564ac4b5acc529c423fc20a17f
ASoC: fsl_audmix: register card device depends on 'dais' property

[ Upstream commit 294a60e5e9830045c161181286d44ce669f88833 ]

In order to make the audmix device linked by audio graph card, make
'dais' property to be optional.

If 'dais' property exists, then register the imx-audmix card driver.
otherwise, it should be linked by audio graph card.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/20250226100508.2352568-5-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/fsl/fsl_audmix.c