Message ID | 878qz4ry81.wl-kuninori.morimoto.gx@renesas.com |
---|---|
State | Accepted |
Commit | 195815c2755d70df92f46e6d737cd677db7adeef |
Headers | show |
Series | ASoC: audio-graph-card2: add support for aux devices | expand |
On Mon, 17 Jun 2024 04:26:38 +0000, Kuninori Morimoto wrote: > Add device tree property to define auxiliary devices to be added to > Audio Graph Card which is already supported on Simle Card. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: audio-graph-card2: add support for aux devices commit: 195815c2755d70df92f46e6d737cd677db7adeef All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/sound/soc/generic/audio-graph-card2.c b/sound/soc/generic/audio-graph-card2.c index 8eea81888758..be5a4ebfddd4 100644 --- a/sound/soc/generic/audio-graph-card2.c +++ b/sound/soc/generic/audio-graph-card2.c @@ -1398,6 +1398,10 @@ int audio_graph2_parse_of(struct simple_util_priv *priv, struct device *dev, simple_util_debug_info(priv); + ret = snd_soc_of_parse_aux_devs(card, "aux-devs"); + if (ret < 0) + goto err; + ret = devm_snd_soc_register_card(dev, card); err: devm_kfree(dev, li);
Add device tree property to define auxiliary devices to be added to Audio Graph Card which is already supported on Simle Card. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> --- sound/soc/generic/audio-graph-card2.c | 4 ++++ 1 file changed, 4 insertions(+)