]> git.ipfire.org Git - thirdparty/linux.git/commit - sound/pci/hda/patch_realtek.c
ALSA: hda - Consolidate add_in_jack_modes and add_out_jack_modes hints
authorTakashi Iwai <tiwai@suse.de>
Thu, 7 Mar 2013 17:32:59 +0000 (18:32 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 7 Mar 2013 17:32:59 +0000 (18:32 +0100)
commitf811c3cf8fae63ecc8a937ba7376490e2565f8f1
tree2e1b91e0079b8f1b404260d2ea5cf51d513f6332
parent3f550e323242bea82d07dfd06e6ce3f723eef7bd
ALSA: hda - Consolidate add_in_jack_modes and add_out_jack_modes hints

There is no big merit to distinguish these two hints.  Instead, just
have a single flag, add_jack_modes, for creating the jack mode enum
ctls for both I/O directions.

The hint string parser code is left and translated as add_jack_modes
just for keeping compatibility.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/sound/alsa/HD-Audio.txt
sound/pci/hda/hda_generic.c
sound/pci/hda/hda_generic.h
sound/pci/hda/patch_realtek.c