---
name: "snd_soc_component_init_regmap"
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_component_init_regmap"
---

# snd\_soc\_component\_init\_regmap(9)

Initialize regmap instance for the component

## NAME

snd\_soc\_component\_init\_regmap - Initialize regmap instance for the component

## SYNOPSIS

**void snd\_soc\_component\_init\_regmap(struct snd\_soc\_component \*** *component***, struct regmap \*** *regmap***);**

## ARGUMENTS

*component*

The component for which to initialize the regmap instance

*regmap*

The regmap instance that should be used by the component

## DESCRIPTION

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

## COPYRIGHT
