Home
last modified time | relevance | path

Searched hist:"0619 ba8c17b121ef0273be181198659b17d84247" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/pci/hda/
H A Dhda_jack.hdiff 0619ba8c17b121ef0273be181198659b17d84247 Mon Nov 19 12:48:07 CST 2012 Dylan Reid <dgreid@chromium.org> ALSA: hda - Allow jack state to depend on another jack

Introduce the concept of a "gated" jack. The gated jack's pin sense
is
only valid when the "gating" jack is plugged. This requires checking
the gating jack when the gated jack changes and re-checking the gated
jack when the gating jack is plugged/unplugged.

This allows handling of devices where the mic jack detect floats when
the headphone jack is unplugged.

[Rewritten for fixing the possible snd_array reallocation, covering
the missing callback calls and jack sync operations, as well as some
code cleanups -- tiwai]

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
H A Dhda_jack.cdiff 0619ba8c17b121ef0273be181198659b17d84247 Mon Nov 19 12:48:07 CST 2012 Dylan Reid <dgreid@chromium.org> ALSA: hda - Allow jack state to depend on another jack

Introduce the concept of a "gated" jack. The gated jack's pin sense
is
only valid when the "gating" jack is plugged. This requires checking
the gating jack when the gated jack changes and re-checking the gated
jack when the gating jack is plugged/unplugged.

This allows handling of devices where the mic jack detect floats when
the headphone jack is unplugged.

[Rewritten for fixing the possible snd_array reallocation, covering
the missing callback calls and jack sync operations, as well as some
code cleanups -- tiwai]

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>