snd_jack_set_parent

Langue: en

Version: October 2010 (fedora - 01/12/10)

Section: 9 (Appels noyau Linux)

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 input device 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.