---
name: "snd_soc_add_dai_link"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_soc_add_dai_link"
---

# snd\_soc\_add\_dai\_link(9)

Add a DAI link dynamically

## NAME

snd\_soc\_add\_dai\_link - Add a DAI link dynamically

## SYNOPSIS

**int snd\_soc\_add\_dai\_link(struct snd\_soc\_card \*** *card***, struct snd\_soc\_dai\_link \*** *dai\_link***);**

## ARGUMENTS

*card*

The ASoC card to which the DAI link is added

*dai\_link*

The new DAI link to add

## DESCRIPTION

This function adds a DAI link to the ASoC card's link list.

## NOTE

Topology can use this API to add DAI links when probing the topology component. And machine drivers can still define static DAI links in dai\_link array.

## COPYRIGHT
