---
name: "snd_soc_dapm_enable_pin"
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_dapm_enable_pin"
---

# snd\_soc\_dapm\_enable\_pin(9)

enable pin.

## NAME

snd\_soc\_dapm\_enable\_pin - enable pin.

## SYNOPSIS

**int snd\_soc\_dapm\_enable\_pin(struct snd\_soc\_dapm\_context \*** *dapm***, const char \*** *pin***);**

## ARGUMENTS

*dapm*

DAPM context

*pin*

pin name

## DESCRIPTION

Enables input/output pin and its parents or children widgets iff there is a valid audio route and active audio stream.

## NOTE

**snd\_soc\_dapm\_sync** needs to be called after this for DAPM to do any widget power switching.

## COPYRIGHT
