---
name: "snd_soc_dapm_force_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_force_enable_pin"
---

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

force a pin to be enabled

## NAME

snd\_soc\_dapm\_force\_enable\_pin - force a pin to be enabled

## SYNOPSIS

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

## ARGUMENTS

*dapm*

DAPM context

*pin*

pin name

## DESCRIPTION

Enables input/output pin regardless of any other state. This is intended for use with microphone bias supplies used in microphone jack detection.

## NOTE

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

## COPYRIGHT
