snd_soc_codec_init_regmap(9)

snd_soc_codec_init_regmap9

Initialize regmap instance for the codec

Usage

void snd_soc_codec_init_regmap(struct snd_soc_codec * codec, struct regmap * regmap);

Arguments

codec

The CODEC for which to initialize the regmap instance

regmap

The regmap instance that should be used by the CODEC

Overview

This function allows deferred assignment of the regmap instance that is associated with the CODEC. Only use this if the regmap instance is not yet ready when the CODEC is registered. The function must also be called before the first IO attempt of the CODEC.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.