SysTutorials

Linux Manual Pages › Section 9

devm_snd_soc_register_component(9)

devm_snd_soc_register_component - resource managed component registration

Synopsis

int devm_snd_soc_register_component(struct device *dev, const struct snd_soc_component_driver *cmpnt_drv, struct snd_soc_dai_driver *dai_drv, int num_dai);

Arguments

dev

Device used to manage component

cmpnt_drv

Component driver

dai_drv

DAI driver

num_dai

Number of DAIs to register

Description

Register a component with automatic unregistration when the device is unregistered.

Copyright