]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda - Add codec->no_jack_detect flag
authorTakashi Iwai <tiwai@suse.de>
Mon, 13 Feb 2012 10:55:02 +0000 (11:55 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 19 Jun 2012 22:18:17 +0000 (23:18 +0100)
commit76c8103ac650773cc31f3de8713ea68919b357b8
tree66c84d2a1eb0f89012c46af7bf86b831506399ff
parentcbb05493366d341a1b66b2bf7488b4957ffc7e75
ALSA: hda - Add codec->no_jack_detect flag

commit 71b1e9e43d5199f57c109e20c0f4dffc5c048130 upstream.

Add a new flag to indicate that the codec has no jack-detection cap.
This flag should be set for hardwares that have no jack-detect
implementation although the codec chip itself supports it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
[bwh: Backported to 3.2: adjust filename and context for is_jack_detectable()]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/pci/hda/hda_codec.h
sound/pci/hda/hda_local.h