---
name: "snd_soc_find_dai"
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_find_dai"
---

# snd\_soc\_find\_dai(9)

Find a registered DAI

## NAME

snd\_soc\_find\_dai - Find a registered DAI

## SYNOPSIS

**struct snd\_soc\_dai \* snd\_soc\_find\_dai(const struct snd\_soc\_dai\_link\_component \*** *dlc***);**

## ARGUMENTS

*dlc*

name of the DAI and optional component info to match

## DESCRIPTION

This function will search all regsitered components and their DAIs to find the DAI of the same name. The component's of\_node and name should also match if being specified.

## RETURN

pointer of DAI, or NULL if not found.

## COPYRIGHT
