---
name: "snd_jack_set_parent"
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_jack_set_parent"
---

# snd\_jack\_set\_parent(9)

Set the parent device for a jack

## NAME

snd\_jack\_set\_parent - Set the parent device for a jack

## SYNOPSIS

**void snd\_jack\_set\_parent(struct snd\_jack \*** *jack***, struct device \*** *parent***);**

## ARGUMENTS

*jack*

The jack to configure

*parent*

The device to set as parent for the jack.

## DESCRIPTION

Set the parent for the jack devices in the device tree. This function is only valid prior to registration of the jack. If no parent is configured then the parent device will be the sound card.

## COPYRIGHT
