snd_jack_set_parent
Prev | Jack Abstraction Layer API | Next

## 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.

Prev | Up | Next
snd_jack_new | Home | snd_jack_set_key