---
name: "snd_soc_register_codec"
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_register_codec"
---

# snd\_soc\_register\_codec(9)

Register a codec with the ASoC core

## NAME

snd\_soc\_register\_codec - Register a codec with the ASoC core

## SYNOPSIS

**int snd\_soc\_register\_codec(struct device \*** *dev***, const struct snd\_soc\_codec\_driver \*** *codec\_drv***, struct snd\_soc\_dai\_driver \*** *dai\_drv***, int** *num\_dai***);**

## ARGUMENTS

*dev*

The parent device for this codec

*codec\_drv*

Codec driver

*dai\_drv*

The associated DAI driver

*num\_dai*

Number of DAIs

## COPYRIGHT
