SysTutorials

Linux Manual Pages › Section 9

snd_soc_register_codec(9)

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